From 8855708fd08148d54a5c2ce1e3ae154e55bd95c9 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 20 Sep 2012 16:20:01 +0200 Subject: [PATCH] overwrite existing link on 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 8447866..832172a 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 " + domainDir + " /home/doms/ && " + + new ShellProcessor("ln -s -f " + domainDir + " /home/doms/ && " + "chown --no-dereference " + userName + ":httpd /home/doms/" + domName + " && " + "chown " + userName + ":httpd /home/doms/" + domName + "/") );