hw
2019-Jul-19 12:51 UTC
[CentOS] SELinux settings for directory shared via NFS and samba?
Hi, what do I need to do to share the same directory with both NFS and samba? SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC I can't set both at the same time on a directory.
Leon Fauster
2019-Jul-19 13:27 UTC
[CentOS] SELinux settings for directory shared via NFS and samba?
Am 19.07.2019 um 14:51 schrieb hw <hw at gc-24.de>:> Hi, > > what do I need to do to share the same directory with both NFS and samba? > SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC > I can't set both at the same time on a directory.Maybe samba_share_nfs boolean? (not tested) -- LF
Monty Shinn
2019-Jul-19 13:43 UTC
[CentOS] SELinux settings for directory shared via NFS and samba?
> On Jul 19, 2019, at 8:27 AM, Leon Fauster via CentOS <centos at centos.org> wrote: > > Am 19.07.2019 um 14:51 schrieb hw <hw at gc-24.de>: >> Hi, >> >> what do I need to do to share the same directory with both NFS and samba? >> SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC >> I can't set both at the same time on a directory. > > Maybe samba_share_nfs boolean? (not tested) > > -- > LF > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centosMight look into ?public_content_rw_t? context as well. ms
Reasonably Related Threads
- SELinux settings for directory shared via NFS and samba?
- SELinux settings for directory shared via NFS and samba?
- How to have more than on SELinux context on a directory
- How to have more than on SELinux context on a directory
- How to have more than on SELinux context on a directory