delete pac directories
This commit is contained in:
parent
87f15fdba6
commit
05d810986a
@ -114,7 +114,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private ShellProcessor createDelUserProc(String pacName) {
|
private ShellProcessor createDelUserProc(String pacName) {
|
||||||
return new ShellProcessor("deluser --remove-all-files " + pacName);
|
return new ShellProcessor("rm -rf /home/pacs/" + pacName + "/* && deluser --remove-all-files " + pacName);
|
||||||
}
|
}
|
||||||
|
|
||||||
private ShellProcessor createMakePacDirectoryStructure(UnixUser unixUser) {
|
private ShellProcessor createMakePacDirectoryStructure(UnixUser unixUser) {
|
||||||
|
Loading…
Reference in New Issue
Block a user