1
0
Fork 0
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:
yalh76 2022-07-04 22:33:02 +02:00
parent c9e7571703
commit 60f3ab3c59

View file

@ -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