Jump to content

Featured Replies

Posted

I am running CentOS 6.5 with a zfs file system shared via samba. When I create a regular file from a remote machine (windows and linux), the file inherits the proper selinux context. However, when I create a directory, it gets the default context of "file_t". This is also true when creating files/dirs locally on the centos box.

 

Running restorecon sets the correct context.

 

Here is my entry in file_contexts.local:

Code:

/zstorage/public(/.*)? system_u:object_r:samba_share_t:s0

Is this possibly just zfs and selinux not playing nice together?

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...