1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Fix files ownership

This commit is contained in:
Jimmy Monin 2017-07-25 14:23:58 +02:00
parent 96578bb0d6
commit 9d83186382
2 changed files with 5 additions and 4 deletions

View file

@ -147,8 +147,9 @@ ynh_replace_string "__URL__" "$domain$path_url" "$final_path/config.js"
# SET FILES OWNERSHIP
#=================================================
chown -R root: $final_path
chown -R $app: $final_path/datastore
sudo chown -R root: $final_path
sudo mkdir $final_path/datastore $final_path/pins $final_path/blob $final_path/blobstage
sudo chown -R $app: $final_path/datastore $final_path/pins $final_path/blob $final_path/blobstage
#=================================================
# INSTALL MODULES FOR CRYPTPAD

View file

@ -124,8 +124,8 @@ ynh_replace_string "__PORT__" "$port" "$final_path/config.js"
# SET FILES OWNERSHIP
#=================================================
chown -R root: $final_path
chown -R $app: $final_path/datastore
sudo chown -R root: $final_path
sudo chown -R $app: $final_path/datastore $final_path/pins $final_path/blob $final_path/blobstage
#=================================================
# INSTALL MODULES FOR CRYPTPAD