mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
Fix permissions
This commit is contained in:
parent
111c66c704
commit
21253c0bca
1 changed files with 2 additions and 2 deletions
|
@ -72,9 +72,9 @@ install_source() {
|
|||
set_permission() {
|
||||
# Set permission
|
||||
chown "$app:$app" -R "$install_dir"
|
||||
chmod u+rw,o= -R "$install_dir"
|
||||
chmod u+rwX,g+rX-w,o= -R "$install_dir"
|
||||
chown "$app:$app" -R "$data_dir"
|
||||
chmod u+rw,o= -R "$data_dir"
|
||||
chmod u+rwX,g+rX-w,o= -R "$data_dir"
|
||||
chown "$app:$app" -R /var/log/"$app"
|
||||
chmod u=rwX,g=rX,o= -R /var/log/"$app"
|
||||
# Criticals files
|
||||
|
|
Loading…
Reference in a new issue