fix: recursive restorecon for reposync
- set reposync to restore selinux controls on all files in the new snap_path
This commit is contained in:
parent
6b11ea09c7
commit
8332d4f374
@ -89,6 +89,6 @@ for conf in /etc/reposync/conf.d/*.conf; do
|
||||
create_repo_metadata "${snap_path}"
|
||||
|
||||
# Update selinux
|
||||
restorecon <%= @basepath %>
|
||||
restorecon -R ${snap_path}
|
||||
|
||||
done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user