1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hedgedoc_ynh.git synced 2024-09-03 19:25:52 +02:00
This commit is contained in:
ericgaspar 2021-03-24 12:54:05 +01:00
parent 67de8ae05e
commit 1d7e631ac8
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 2 deletions

View file

@ -150,6 +150,7 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
# Set permissions to app files # Set permissions to app files
chown -R $app:$app $final_path chown -R $app:$app $final_path
chmod o-rwx $final_path
chmod 600 $final_path/.sequelizerc chmod 600 $final_path/.sequelizerc
#================================================= #=================================================

View file

@ -74,6 +74,7 @@ ynh_script_progression --message="Restoring user rights..." --weight=2
# Restore permissions on app files # Restore permissions on app files
chown -R $app:$app $final_path chown -R $app:$app $final_path
chmod o-rwx $final_path
chmod 600 $final_path/.sequelizerc chmod 600 $final_path/.sequelizerc
#================================================= #=================================================

View file

@ -159,6 +159,7 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
# Set permissions on app files # Set permissions on app files
chown -R $app:$app $final_path chown -R $app:$app $final_path
chmod o-rwx $final_path
chmod 600 $final_path/.sequelizerc chmod 600 $final_path/.sequelizerc
#================================================= #=================================================