set permissions in one chmod command
This commit is contained in:
parent
5759c21e40
commit
28ec8a4c9b
@ -34,10 +34,7 @@ else
|
|||||||
SECURITY.md \
|
SECURITY.md \
|
||||||
phpstan.neon
|
phpstan.neon
|
||||||
composer install
|
composer install
|
||||||
# fix permissions
|
chmod -R ugo-x,u+rwX,go-rw . # Files 600 directories 700
|
||||||
# chown -R www-data:www-data .
|
|
||||||
find . -type d -exec chmod 750 {} \;
|
|
||||||
find . -type f -exec chmod 640 {} \;
|
|
||||||
set +x
|
set +x
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user