On 01/20/2012 07:40, Gianluca Cecchi wrote:
Hello,
using Fedora 16 and its samba 3.6 stack
I would like to share a directory that is under a local ntfs mounted
(with ntfs-3g) path...
For normal dirs I'm able to share after
chcon -t samba_share_t /dir/to/share/path
But for dirs under ntfs? Is there any directive to tell samba to skip
selinux protection for particular shares?
Thanks in advance,
Gianluca
So from what I understand ntfs-3g is a fuse filesystem. I would assume
that when you do ls -Z on any file on your ntfs-3g mount that it comes
back with the type fuse_t. Unfortunately fuse doesn't support
finer-grained labeling with SELinux. The best thing that you will be
able to do is make it so your entire ntfs-3g mount is labeled
samba_share_t and then just export the folders you want. You should be
able to do this by adding -o context=system_u:object_r:samba_share_t to
your mount command for your ntfs-3g mount.
Dave
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org