From f3485454869e3802c0c4833749dd6e8ac8878adc Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 20 Sep 2012 16:32:07 +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 + "/") );