[CentOS] Samba and file permissions

Todd Cary todd at aristesoftware.com
Mon Jul 12 15:51:56 UTC 2010


Many thanks!

Todd

On 7/12/2010 8:44 AM, Bowie Bailey wrote:
>   On 7/12/2010 11:33 AM, Todd Cary wrote:
>    
>> Rob -
>>
>> I assume this is where I need to list all users and set the
>> permissions as specified.  Also, I do not find an entry for "directory
>> mask".
>>
>> # The following two entries demonstrate how to share a directory so
>> that two
>> # users can place files there that will be owned by the specific
>> users. In this
>> # setup, the directory should be writable by both users and should
>> have the
>> # sticky bit set on it to prevent abuse. Obviously this could be
>> extended to
>> # as many users as required.
>> ;[myshare]
>> ;   comment = Mary's and Fred's stuff
>> ;   path = /usr/somewhere/shared
>> ;   valid users = mary fred
>> ;   public = no
>> ;   writable = yes
>> ;   printable = no
>> ;   create mask = 0765
>>      
> The samples do not list every possible option -- just the common ones.
> There is lots of good configuration info in the man page.  Here is a web
> version:
>
> http://samba.org/samba/docs/man/manpages-3/smb.conf.5.html
>
>    

-- 
Ariste Software
Petaluma, CA 94952

http://www.aristesoftware.com




More information about the CentOS mailing list