1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git synced 2024-09-03 18:36:09 +02:00
This commit is contained in:
ericgaspar 2021-04-23 23:23:44 +02:00
parent 0429eb85c0
commit 037c56d106
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 1 additions and 3 deletions

View file

@ -216,7 +216,6 @@ ynh_store_file_checksum --file="$final_path/credentials.json"
# Set files ownership to etherpad
chown -R $app: $final_path
chmod o-rwx $final_path
# Restrict access to credentials.json
chmod 600 $final_path/credentials.json

View file

@ -136,7 +136,6 @@ ynh_exec_warn_less npm cache clean --force
# Restore permissions on app files
chown -R $app: $final_path
chmod o-rwx $final_path
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL

View file

@ -356,7 +356,7 @@ ynh_system_user_create --username=$app --home_dir=$final_path
# Set files ownership to etherpad
chown -R $app: $final_path
chmod o-rwx $final_path
chmod 600 "$final_path/credentials.json"
# Restrict access to credentials.json
chown $app -R /var/log/$app/etherpad.log