On Tue, 2008-05-13 at 07:38 -0700, 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:
- Create an empty directory: /AV
- chcon -t samba_share_t /AV
- chmod 775 !$
- chgrp avusers !$
- 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.
- mount -a
- ls -ldZ /AV
drwxrwxrwx root root system_u:object_r:fusefs_t:s0 AV
- chcon -t samba_share_t /AV
chcon: failed to change context of /AV to system_u:object_r:samba_share_t:s0: Operation not supported.
- umount /AV (no errors)
- chcon -t samba_share_t /AV (no errors)
- mount /AV (no errors)
- ls -ldZ /AV
drwxrwxrwx root root system_u:object_r:fusefs_t:s0 AV
So... why does the system insists of fusefs_t? Does this mean that ntfs filesystems does not support samba_share_context?
HELP!!!
Thanks! Dan
-- fedora-selinux-list mailing list fedora-selinux-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-selinux-list