Samba share and file attributes

Dayley, Alan ADayley at adtron.com
Fri Apr 17 11:59:29 MST 2009


> -----Original Message-----
> From: plug-discuss-bounces at lists.plug.phoenix.az.us 
> [mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On 
> Behalf Of Craig White
> Sent: Thursday, April 16, 2009 6:44 PM
> To: Main PLUG discussion list
> Subject: Re: Samba share and file attributes
> 
> I think if I understand you right, this is pretty simple then.
> 
> You're using CentOS but you jumped the package shark and 
> installed 3.2.x? Assuming that is working like it's supposed 
> to work...
> 
> Share - let's call it MasterShare
> 
> [MasterShare]
>         comment = My MasterShare Share
>         path = /var/sambashares/mastershare
>         guest ok = no
>         writable = yes
>         write list = @mastershare
>         read list = @mastershareread
>         inherit permissions = yes
>         store dos attributes = yes
> 
> chgroup mastershare /var/sambashares/mastershare chmod 
> g+w,g+s /var/www/mastershare
> 
> I'm not really sure that anything else is required.
> 
> I don't usually put 'user' files in /var and thus have no 
> real experience with troubleshooting selinux for that

Solved!

Thank you all for the help.  I had the infrastructure needed all along.
I was confused by all the "knobs" and had them all twisted up.  Our
share is now working as required, following these setting suggestions
from Craig.

Thanks all, again!

Alan


More information about the PLUG-discuss mailing list