Re: Samba and file permissions

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



 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

-- 
Bowie
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux