Merge pull request #92 from YunoHost-Apps/fix_avatar

Fix avatar access
This commit is contained in:
Josue-T 2022-09-12 19:50:06 +02:00 committed by GitHub
commit 9df7aec62f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,7 @@ set_permission() {
setfacl -m user:www-data:rX $final_path/seafile-server-$seafile_version
setfacl -m user:www-data:rX $final_path/seafile-server-latest/seahub
setfacl -R -m user:www-data:rX $final_path/seafile-server-latest/seahub/media
setfacl -R -m user:www-data:rX $final_path/seahub-data
# check that this directory exist because in some really old install the data could still be in the main seafile directory
# We also check at the install time when data directory is not already initialised