diff --git a/root/etc/cont-init.d/98-script-setup.bash b/root/etc/cont-init.d/98-script-setup.bash index f730a49..8226bdb 100644 --- a/root/etc/cont-init.d/98-script-setup.bash +++ b/root/etc/cont-init.d/98-script-setup.bash @@ -29,10 +29,11 @@ if [ ! -d "/config/extended/logs" ]; then fi # set permissions -chmod 777 /config/extended -chmod 777 /config/extended/* -chmod 777 /config/extended/scripts/* +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 chmod -R 777 /root echo "Complete..." -exit $? +exit