mirror of
https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git
synced 2024-09-03 19:36:27 +02:00
remove chmod 750 on pages which prevents writing them
This commit is contained in:
parent
f311846e1d
commit
0466be6a25
1 changed files with 2 additions and 2 deletions
|
@ -73,9 +73,9 @@ ynh_add_nginx_config
|
||||||
# chmod again to fix unaccessible templates / css files
|
# chmod again to fix unaccessible templates / css files
|
||||||
chmod -R 755 "$install_dir"
|
chmod -R 755 "$install_dir"
|
||||||
|
|
||||||
# don't allow read access to config.php and pages/ for everyone
|
# don't allow read access to config.php for everyone
|
||||||
chmod 750 "$install_dir"/config.php
|
chmod 750 "$install_dir"/config.php
|
||||||
chmod -R 750 "$install_dir"/var/pages/
|
# chmod -R 750 "$install_dir"/var/pages/ # prevents from writing pages!
|
||||||
|
|
||||||
# chmod root folder
|
# chmod root folder
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
|
|
Loading…
Reference in a new issue