feat: fix selinux permissions each sync
- restorecon on each sync, to update selinux for new files/directories
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user