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:
parent
96578bb0d6
commit
9d83186382
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue