diff --git a/scripts/_common.sh b/scripts/_common.sh index 0f8e7e7..f901cf4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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