Force permission for data directory

This commit is contained in:
Josué Tille 2019-08-05 15:41:26 +02:00
parent b5888e8f3d
commit e99c1afea2
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -27,6 +27,8 @@ install_dependance() {
set_permission() {
chown -R $seafile_user:$seafile_user $final_path
# check that this directory exist because in some really old install the data could still be in the main seafile directory
test -e /home/yunohost.app/seafile-data && chown -R $seafile_user:$seafile_user /home/yunohost.app/seafile-data
}
ynh_clean_setup () {