diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index b6dece1..4d2d023 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -286,8 +286,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { + "( ls " + domName + ".crt ||" + " ( ln -s ../pems-generated/" + domName + ".key " + domName + ".key" + " && ln -s ../pems-generated/" + domName + ".crt " + domName + ".crt" - + " && ln -s ../pems-generated/" + domName + ".chain " + domName + ".chain ) ) && " - + "chmod 400 " + domName + "*"), + + " && ln -s ../pems-generated/" + domName + ".chain " + domName + ".chain ) )"), new CreateFileProcessor("/de/hsadmin/mods/dom/apache-vhost.vm", templateVars, dom, "/etc/apache2/sites-available/" + domName + ".tmp", "root", "root", "644", true), new ShellProcessor( " (diff -q /etc/apache2/sites-available/" + domName + ".tmp /etc/apache2/sites-available/" + domName + " && rm /etc/apache2/sites-available/" + domName + ".tmp ) " +