Samba shares...

Daniel B. Thurman dant at cdkkt.com
Tue May 13 15:12:36 UTC 2008


Stephen Smalley wrote:
>> Daniel B. Thurman wrote:
>> I am not sure what is going on.  I am unable to get
>> samba shares to work for an NTFS filesystem.  I do
>> have several shares working for ext3 filesystems.
>> 
>> Here is what I did:
>> 
>> 1) Create an empty directory: /AV
>> 2) chcon -t samba_share_t /AV
>> 3) chmod 775 !$
>> 4) chgrp avusers !$
>> 5) Add to fstab
>>    /dev/sda1 /AV ntfs defaults 1 2
>
> Not sure if this will work, but try adding a
> "context=system_u:object_r:samba_share_t" to the
> list of options in your fstab.

Sorry I was not able to get your reply in my inbox, it was
spam-blocked, but I have it fixed now.

Can you please tell me how to add your suggestion to
the fstab as options?

Thanks!
Dan




More information about the selinux mailing list