mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Force permission for data directory
This commit is contained in:
parent
b5888e8f3d
commit
e99c1afea2
1 changed files with 2 additions and 0 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue