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:
parent
8d4b70de05
commit
ce1dcbca7b
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ ynh_system_user_create --username=$app
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R root: $final_path
|
chown -R root: $final_path
|
||||||
chown -R $app: $final_path/db
|
chown -R $app: $final_path/db
|
||||||
chmod 660 -R $final_path/db
|
chmod -R 750 $final_path/db
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
|
|
|
@ -142,7 +142,7 @@ ynh_replace_string --match_string="__PORT_WG__" --replace_string="$port_wg" --ta
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R root: $final_path
|
chown -R root: $final_path
|
||||||
chown -R $app: $final_path/db
|
chown -R $app: $final_path/db
|
||||||
chmod 750 -R $final_path/db
|
chmod -R 750 $final_path/db
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP LOGROTATE
|
# SETUP LOGROTATE
|
||||||
|
|
Loading…
Add table
Reference in a new issue