From 0fa256f76bba784f72055221bde83a589237726a Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 9 Mar 2023 20:22:18 +0100 Subject: [PATCH] fix mode --- 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 6eb18c8..f7b5993 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -274,7 +274,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { + "chmod 660 " + domName + ".* && " + "chown root:acmebot " + domName + "*" ), new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && " - + "mkdir -p $PEMS_DIR && " + + "mkdir -p --mode=750 $PEMS_DIR && " + "chown acmebot:acmebot $PEMS_DIR && " + "cd $PEMS_DIR && " + "( ls " + domName + ".crt ||"