1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

fix(level 3-4): unify files permissions

This commit is contained in:
tytan652 2020-12-29 18:16:39 +01:00 committed by tituspijean
parent 8d4b70de05
commit ce1dcbca7b
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ ynh_system_user_create --username=$app
# Restore permissions on app files
chown -R root: $final_path
chown -R $app: $final_path/db
chmod 660 -R $final_path/db
chmod -R 750 $final_path/db
#=================================================
# SPECIFIC RESTORATION

View file

@ -142,7 +142,7 @@ ynh_replace_string --match_string="__PORT_WG__" --replace_string="$port_wg" --ta
# Set permissions on app files
chown -R root: $final_path
chown -R $app: $final_path/db
chmod 750 -R $final_path/db
chmod -R 750 $final_path/db
#=================================================
# SETUP LOGROTATE