mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 04:26:23 -07:00
v-fix-website-permissions: chown for .php and .env files
This commit is contained in:
parent
b8b75f0dde
commit
d20bc94866
1 changed files with 2 additions and 0 deletions
|
@ -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 #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue