mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix permission for data_dir for www-data
This commit is contained in:
parent
174fa19944
commit
2dbb8fbe02
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ set_permission() {
|
|||
# At install time theses directory are not available
|
||||
test -e $install_dir/seafile-server-$seafile_version/seahub && setfacl -m user:www-data:rX $install_dir/seafile-server-$seafile_version/seahub
|
||||
test -e $install_dir/seafile-server-$seafile_version/seahub/media && setfacl -R -m user:www-data:rX $install_dir/seafile-server-$seafile_version/seahub/media
|
||||
test -e $install_dir/seahub-data && setfacl -m user:www-data:rX $data_dir
|
||||
test -e $install_dir/seahub-data && setfacl -R -m user:www-data:rX $data_dir/seahub-data
|
||||
|
||||
find $data_dir \( \! -perm -o= \
|
||||
|
|
Loading…
Reference in a new issue