diff options
author | Simon Rettberg | 2019-10-29 10:21:27 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-10-29 10:21:27 +0100 |
commit | 36b104f9f804dc5887b41dc6c4c9621c366175d1 (patch) | |
tree | 5bddb97c6df98ec0f91d55fcd2763918a2b0e5de /satellit_installer/includes | |
parent | [SSPS] Update lighttpd.conf for debian 10 (diff) | |
download | setup-scripts-36b104f9f804dc5887b41dc6c4c9621c366175d1.tar.gz setup-scripts-36b104f9f804dc5887b41dc6c4c9621c366175d1.tar.xz setup-scripts-36b104f9f804dc5887b41dc6c4c9621c366175d1.zip |
[SSPS] WTF?
Diffstat (limited to 'satellit_installer/includes')
-rw-r--r-- | satellit_installer/includes/90-set_directory_permissions.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/satellit_installer/includes/90-set_directory_permissions.inc b/satellit_installer/includes/90-set_directory_permissions.inc index 2bb977b..72f3f05 100644 --- a/satellit_installer/includes/90-set_directory_permissions.inc +++ b/satellit_installer/includes/90-set_directory_permissions.inc @@ -27,13 +27,13 @@ set_directory_permissions() { mkdir -p -m 755 "$WWWDIR" 2>/dev/null chmod 755 "$WWWDIR" 2>/dev/null # if already there - chown -R www-data:taskmanager "$WWWDIR" + chown -R root:root "$WWWDIR" mkdir -p "$WWWDIR/boot/download" chown -R taskmanager:www-data "$WWWDIR/boot" chmod 755 "$WWWDIR/boot" "$WWWDIR/boot/download" - chown -R taskmanager: "$TFTPDIR" + chown -R taskmanager "$TFTPDIR" # ldadp dirs mkdir -p "$LDADPDIR" "$LDADPDIR/configs" "$LDADPDIR/pid" "/var/log/ldadp" |