1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

Revert "Add permissions"

This reverts commit ce6570b10f.
This commit is contained in:
ericgaspar 2021-05-04 19:37:59 +02:00
parent ce6570b10f
commit 2ae2743f70
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 1 additions and 4 deletions

View file

@ -136,7 +136,6 @@ touch "${final_path}/Specific/INSTALL_DISABLED"
# Set permissions
chown -R root: "$final_path"
chmod -R o-rwx "$final_path"
chown $app "$final_path/config/baikal.yaml"
chmod 640 "$final_path/config/baikal.yaml"
@ -146,7 +145,7 @@ chmod 640 "$final_path/config/baikal.yaml"
ynh_script_progression --message="Configuring permissions..." --weight=2
# Allow public access on /
ynh_permission_update --permission="main" --add="visitors"
ynh_permission_update --permission="main" --add="visitors"
# But restrain on /admin
ynh_permission_create --permission="admin" --url="/admin" --allowed="all_users"

View file

@ -90,7 +90,6 @@ ynh_system_user_create --username=$app
# Set permissions
chown -R root: "$final_path"
chmod -R o-rwx "$final_path"
chown $app "$final_path/config/baikal.yaml"
chmod 640 "$final_path/config/baikal.yaml"

View file

@ -184,7 +184,6 @@ fi
# Set permissions
chown -R root: "$final_path"
chmod -R o-rwx "$final_path"
chown $app "$final_path/config/baikal.yaml"
chmod 640 "$final_path/config/baikal.yaml"