mirror of
https://github.com/YunoHost-Apps/teampass_ynh.git
synced 2024-09-03 20:26:37 +02:00
Fix chown: cannot access '/var/www/teampass/install': No such file or directory
This commit is contained in:
parent
c9e7571703
commit
60f3ab3c59
1 changed files with 5 additions and 1 deletions
|
@ -184,7 +184,11 @@ chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
# Sauf certains dossiers includes, install, files et upload
|
# Sauf certains dossiers includes, install, files et upload
|
||||||
chown -R $app $final_path/{includes,install,files,upload}
|
chown -R $app $final_path/{includes,files,upload}
|
||||||
|
if [ -d "$final_path/install" ]; then
|
||||||
|
chown -R $app "$final_path/install"
|
||||||
|
fi
|
||||||
|
|
||||||
# Restreint l'accès au dossier de backup
|
# Restreint l'accès au dossier de backup
|
||||||
chmod 750 $final_path/backups
|
chmod 750 $final_path/backups
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue