[Samba] Problems of groups accessing shared directory

Dimitrios Stergiou dste at intranet.gr
Thu Oct 31 08:24:01 GMT 2002


On Thursday 31 October 2002 10:22 am, Qonita wrote:

> drwxrwxr-x     12 root    special    4096  Oct 29 17:15  ourdir
> How to make all files written or edited always belonging to group
> "special"? I have tried "force group = special" but it turned out anyone
> has access to the directory, eventhough they're not listed as member of
> group "special" in /etc/group.

i would suggest here a:
chmod g+s ourdir

this will allow everything created under the ourdir directory to have the same 
group ownership as ourdir

-- 
Dimitrios Stergiou
System, Network and Security Administration Group
Intracom S.A

DISCLAIMER: Funny signature follows
-----------------------------------

Johnson's First Law:
	When any mechanical contrivance fails, it will do so at the
	most inconvenient possible time.




More information about the samba mailing list