mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Fix CHOWN
This commit is contained in:
parent
ba2c1ff759
commit
23ebfb2c04
3 changed files with 5 additions and 5 deletions
|
@ -344,8 +344,8 @@ ynh_store_file_checksum "$config_path/autodiscover.conf.php"
|
|||
|
||||
# Set permissions to app files
|
||||
#chown -R www-data: $final_path
|
||||
chown -R www-data: $log_path
|
||||
chown -R www-data: $state_path
|
||||
chown -R www-data:www-data $log_path
|
||||
chown -R www-data:www-data $state_path
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
|
|
|
@ -76,7 +76,7 @@ ynh_restore_file "$final_path"
|
|||
#=================================================
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R www-data: $final_path
|
||||
chown -R www-data:www-data $final_path
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
|
|
|
@ -230,8 +230,8 @@ ynh_use_logrotate --non-append
|
|||
|
||||
# Set permissions on app files
|
||||
#chown -R root: $final_path
|
||||
chown -R www-data: $log_path
|
||||
chown -R www-data: $state_path
|
||||
chown -R www-data:www-data $log_path
|
||||
chown -R www-data:www-data $state_path
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Add table
Reference in a new issue