1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lxd-dashboard_ynh.git synced 2024-09-03 19:36:18 +02:00

fix data_dir permissions during the upgrade

This commit is contained in:
Kay0u 2024-01-16 23:09:19 +01:00
parent f9401165e0
commit f9fefa5e2a
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -53,6 +53,9 @@ ynh_add_config --template="db_config.php" --destination="$data_dir/data/db_confi
chmod 400 "$data_dir/data/db_config.php"
chown $app:$app "$data_dir/data/db_config.php"
chmod -R o-rwx "$data_dir"
chown -R $app: "$data_dir"
#=================================================
# END OF SCRIPT
#=================================================