diff options
Diffstat (limited to 'satellit_installer/includes/90-set_directory_permissions.inc')
-rw-r--r-- | satellit_installer/includes/90-set_directory_permissions.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/satellit_installer/includes/90-set_directory_permissions.inc b/satellit_installer/includes/90-set_directory_permissions.inc index 3e84d39..cb3e73f 100644 --- a/satellit_installer/includes/90-set_directory_permissions.inc +++ b/satellit_installer/includes/90-set_directory_permissions.inc @@ -25,6 +25,13 @@ set_directory_permissions() ( chown -R taskmanager "$TFTPDIR" + mkdir -p /home/taskmanager/{certs,.acme.sh} + chown taskmanager:taskmanager /home/taskmanager/{certs,.acme.sh} + chmod 0700 /home/taskmanager/{certs,.acme.sh} + + mkdir -p "/srv/openslx/www/.well-known/acme-challenge" + chown taskmanager:taskmanager "/srv/openslx/www/.well-known/acme-challenge" + mkdir -p "$SLXADMINCACHE" chmod 0755 "$SLXADMINCACHE" # if already there chown -R www-data:www-data "$SLXADMINCACHE" |