-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SELinux policy rules allowing to create directories under /root #1908
Add SELinux policy rules allowing to create directories under /root #1908
Conversation
This is an attempt to fix https://issues.redhat.com/browse/RHEL-77975. I don't really have SELinux knowledge so it's mostly guessing and opened for a discussion. I also haven't tried it yet. Maybe this gives Tigervnc permission we don't need, but I don't really know. CCing @zpytela for help. |
Hmm, it looks we already have ability to create at least
So some additions I did are most likely not necessary. |
82fd7b6
to
0528bf4
Compare
So I think this is close to be working, but it's still missing one thing. The code I added now allows to create I tried adding:
But that's not it. @zpytela would you know please? Thank you. |
We have policy that allows to create ~/.local or ~/.config, but we don't have rule that allows the same under /root directory, where we fail in case any of these directories doesn't exist.
0528bf4
to
e652f06
Compare
Alright, after reading some documentation and testing it now seems to work as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Can confirm it fixes the issue here as well. Tested on Fedora 41.
We have policy that allows to create ~/.local or ~/.config, but we don't have rule that allows the same under /root directory, where we fail in case any of these directories doesn't exist.