Setting up a samba share?

Knute Johnson knute at frazmtn.com
Tue Nov 7 05:52:53 UTC 2006


I'm setting up a samba share on my new FC6 install that will be 
public with no password required.  Just like an unmolested Windows 
share.

I found an article that said to put the selinux context description 
in /etc/selinux/targeted/contexts/files/file_contexts.local.

My shared directory is /var/share.  I put the line:

/var/share(/.*)?     system_u:object_r:samba_share_t

in that file.

Is this the correct way to make this change and make it permanent?  
Will this do what it is supposed to do?

This is selinux related but why does the directory have to be world 
executable to make this work?

Thanks very much,

-- 
Knute Johnson
Molon Labe...





More information about the fedora-selinux-list mailing list