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:
parent
f9401165e0
commit
f9fefa5e2a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue