v-fix-website-permissions: chown for .php and .env files

This commit is contained in:
Peca 2025-07-01 10:03:32 +02:00
parent b8b75f0dde
commit d20bc94866

View file

@ -77,6 +77,8 @@ chown -R $USER:$USER public_html/
echo "= Setting chmod 600 for all php files"
find -name "*.php" -type f -exec chmod 600 {} +
find -name ".env" -type f -exec chmod 600 {} +
find -name "*.php" -type f -exec chown $USER:$USER {} +
find -name ".env" -type f -exec chown $USER:$USER {} +
#----------------------------------------------------------#
# Vesta #