feat: fix selinux permissions each sync

- restorecon on each sync, to update selinux for new files/directories
This commit is contained in:
2023-11-27 23:19:01 +11:00
parent e18103bda9
commit 705c02c3a1
2 changed files with 6 additions and 1 deletions
@@ -88,4 +88,7 @@ for conf in /etc/reposync/conf.d/*.conf; do
# After syncing each repo, fix the repository metadata
create_repo_metadata "${snap_path}"
# Update selinux
restorecon <%= @basepath %>
done