Merge pull request #3 from YunoHost-Apps/fix-restore

Fix restore by calling chown for log file
This commit is contained in:
Jens Diemer 2020-12-23 08:57:56 +01:00 committed by GitHub
commit 7a343ea6d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,6 +70,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" --use_shell
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R "$app" "$log_path"
chown -R "$app" "$public_path" chown -R "$app" "$public_path"
chown -R "$app" "$final_path" chown -R "$app" "$final_path"