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