Re: Samba Issues [ALMOST SOLVED] still need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
here.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux