summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-29 10:21:27 +0100
committerSimon Rettberg2019-10-29 10:21:27 +0100
commit36b104f9f804dc5887b41dc6c4c9621c366175d1 (patch)
tree5bddb97c6df98ec0f91d55fcd2763918a2b0e5de /satellit_installer/includes
parent[SSPS] Update lighttpd.conf for debian 10 (diff)
downloadsetup-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.inc4
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"