From 30f6b89f5f69189809a23f8ee55b7cc38e491dd7 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 9 Nov 2022 07:11:18 -0500 Subject: [PATCH] Permissions adjustments --- root/etc/cont-init.d/98-script-setup.bash | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/root/etc/cont-init.d/98-script-setup.bash b/root/etc/cont-init.d/98-script-setup.bash index 927a06f..9696f2c 100644 --- a/root/etc/cont-init.d/98-script-setup.bash +++ b/root/etc/cont-init.d/98-script-setup.bash @@ -34,15 +34,11 @@ if [ ! -d "/config/extended/configs" ]; then fi # set permissions -chmod 755 /etc/services.d/extended/run -chmod 777 /config/extended -chmod 777 /config/extended/cache -chmod 777 /config/extended/logs -chmod 777 /config/extended/configs -chmod -R 777 /config/extended/scripts -chown -R abc:abc /config/extended chmod 777 -R /usr/local/sma +find /config/extended -type d -exec chmod 777 {} \; +find /config/extended -type f -exec chmod 666 {} \; +chmod -R 777 /config/extended/scripts echo "Complete..." -exit $? +exit