From 324f4900df09d6e277056c5336f488c8eb5b926c Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 20 Sep 2012 16:31:39 +0200 Subject: [PATCH] overwrite existing link an domain update --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 832172a..ead2757 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -288,7 +288,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { ); } domDirsProcessor.appendProcessor( - new ShellProcessor("ln -s -f " + domainDir + " /home/doms/ && " + + new ShellProcessor("ln -sf " + domainDir + " /home/doms/ && " + "chown --no-dereference " + userName + ":httpd /home/doms/" + domName + " && " + "chown " + userName + ":httpd /home/doms/" + domName + "/") );