On Sat, Dec 12, 2020 at 10:12 AM stan via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > On Sat, 12 Dec 2020 16:22:29 +0530 > Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote: > > > Isn't chcon just temporary ? Won't the changes be lost after a reboot > > ? > > Persistent across reboots here. I think "temporary" in this case means > that it has no context with restorecon. I haven't tried it, but if you > change it with chcon, and then run restorecon, it will probably revert > to unconstrained_u. There are probably tools that can create a rule > for restorecon so that it becomes "permanent", I don't know them. You have to use semanage to set the context. I always reference the samba docs to remember: https://fedoraproject.org/wiki/SELinux/samba > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx -Joe _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx