Read-write samba share not writable in FC5T3

Ivan Gyurdiev ivg2 at cornell.edu
Tue Feb 28 05:13:58 UTC 2006


> 	I tried several combinations of SELinux options, and eventually just disabled 
> SELinux protection for all the Samba-related daemons.  That fixed it.  Should 
> this be considered a bug/something to be fixed?  It seems to me that the 
> average user just wanting to share a few files won't know how to/want to mess 
> with the security settings.
>   
Have you tried labeling the samba share with the correct security 
context (I think it's samba_share_t?). See "man samba_selinux". I don't 
think you should pay attention to the line that mentions editing a 
config file - that's most likely out of date, and misleading.

Just like you have to set the proper Unix permissions to make Samba 
sharing work, you also have to set the proper Selinux permissions on a 
SELinux-enabled system.

There's also an old bug about this issue that I filed long ago, which 
suggests integration between system-config-samba and selinux:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144513

I am currently working on nautilus integration with selinux, so maybe 
that could also be helpful.







More information about the fedora-test-list mailing list