Switching to $app:www-data owner
This commit is contained in:
@@ -76,8 +76,7 @@ ynh_restore_file --origin_path="$final_path"
|
||||
# this will be treated as a security issue.
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R root: "$final_path"
|
||||
chown root:$app "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
|
||||
Reference in New Issue
Block a user