mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
secure temporary directory for data
This commit is contained in:
parent
c1f585851e
commit
ab39a4a5e2
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ ynh_add_config --template="config.local.php" --destination="$install_dir/config.
|
|||
ynh_add_config --template="config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"
|
||||
|
||||
# Sync data directory backup
|
||||
rsync -a /var/www/$tmp_data_backup/ $install_dir/data/
|
||||
rsync -a $tmp_data_backup/ $install_dir/data/
|
||||
|
||||
# Permissions on files and directories
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue