mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
improve permissions of finalpath
This commit is contained in:
parent
366fc9a679
commit
684d50ef4d
1 changed files with 5 additions and 2 deletions
|
@ -143,10 +143,13 @@ ynh_store_file_checksum --file="$conf_file"
|
|||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
# user mopidy needs permission to mkdir on final_path
|
||||
chown -R root: $final_path
|
||||
chown $app: $final_path
|
||||
#chown -R root: $final_path
|
||||
#chown $app: $final_path
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
|
|
Loading…
Add table
Reference in a new issue