mirror of
https://github.com/YunoHost-Apps/hedgedoc_ynh.git
synced 2024-09-03 19:25:52 +02:00
Fix
This commit is contained in:
parent
67de8ae05e
commit
1d7e631ac8
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue