|
|
|
@ -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
|
|
|
|
|