Re: NFS and selinux context question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/09/2021 19:53, Ondrej Mosnacek wrote:
For sharing SELinux labels over NFS you need to export the directory
with the "security_label" option on the server side. For example, if I
wanted to export a directory for testing purposes, I would do:

exportfs -o rw,security_label localhost:/path/to/dir

I guess in your case you probably have the export configured in
/etc/exports - in that case you need to add the "security_label"
option in that file.

That was it.  Thanks much.

And with that bit of knowledge I found that had I read "man 5 exports" I may have
found it on my own.
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-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/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux