mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers2.1: also run _ynh_apply_default_permissions in ynh_restore to be consistent (also because the user uid on the new system may be different than in the archive etc)
This commit is contained in:
parent
eaf00103dd
commit
eee84c5f66
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ ynh_restore() {
|
||||||
else
|
else
|
||||||
mv "$archive_path" "${target}"
|
mv "$archive_path" "${target}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_ynh_apply_default_permissions "$target"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restore all files that were previously backuped in an app backup script
|
# Restore all files that were previously backuped in an app backup script
|
||||||
|
|
Loading…
Add table
Reference in a new issue