[CentOS] SELinux settings for directory shared via NFS and samba?

Fri Jul 19 20:53:00 UTC 2019
hw <hw at gc-24.de>

On 7/19/19 3:43 PM, Monty Shinn wrote:
> 
>> 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/centos
> 
> Might look into “public_content_rw_t” context as well.

Thanks!  Maybe I can still get around it; if not, I'll try those.