Samba Issues [ALMOST SOLVED] still need help
mlnx at mho.com
Tue Jul 7 22:29:13 UTC 2009
On Tue, 2009-07-07 at 17:17 -0500, Mikkel L. Ellertson wrote:
> Mike Adolf wrote:
> > I think I have samba set up correctly to share a linux folder within a
> > windows WORKGROUP of PCs. The problem is selinux keeps denying access to
> > the share and tells me that I can fix the problem using
> > chcon -R -t samba_share_t 'myshare path'
> > HOWEVER, when I try it, I get the following error for each file in the
> > folder.
> > chcon: failed to change context of `some file name' to
> > `system_u:object_r:samba_share_t:s0': Operation not supported.
> > Google turned up others having this problem back in 2007. Some just gave
> > up and disabled selinux. I don't want to do that. Could the problem be
> > due to the ntfs file system on the shared folder? If I change it to ext
> > how does windows use it?
> > Mike
> Yes, the problem is the ntfs - it does not support SELinux
> attributes. You can fix the problem by add the
> context=system_u:object_r:samba_share_t:s0 option to the fstab entry
> used to mount the ntfs partition.
> When using Samba to share out files, it does not matter what file
> system the server is using - it looks like a Windows share to the
> computer accessing it. All my Samba shares are on ext3 file systems
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Thanks, I give it a try.
More information about the fedora-list