1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

keep correct permissions

This commit is contained in:
rodinux 2023-12-29 16:45:37 +01:00
parent b7cffdfc20
commit bff8359a42

View file

@ -113,9 +113,8 @@ if [ ! -d "$data_dir/data" ]; then
chmod 770 "$data_dir/data"
chown -R $app:www-data "$data_dir/data"
else
chown -R $app:www-data "$data_dir/cache"
chown $app:www-data "$data_dir/index.html"
chown -R $app:www-data "$data_dir/data/cache"
chown $app:www-data "$data_dir/data/index.html"
fi
if [ ! -f "$data_dir/data/config.local.user.php" ]; then