AW: strange permission problem

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Thu Feb 22 13:33:48 GMT 2001


Oops,
Should have read your post first, Mike before replying.
Got ahead of myself.  One thing to note is that if you
were using the force group to ensure that all files and 
dirs created were owned by that group, this will no longer 
be the case with the force group = +groupname, as anyone
NOT already a member of that group, when they create a file
or directory, it will be owned by whatever home group that 
user belongs to...  This may not be an issue for you, though.
Hope this helps,
Don

-----Original Message-----
From: Mike Kennedy [mailto:mikek at syrinx.ucr.edu]
Sent: Thursday, February 22, 2001 4:14 AM
To: 'Zheng Liu'
Cc: samba at us5.samba.org
Subject: Re: AW: strange permission problem



Put a '+' in front of smbadm, that should get the desired effect
you were looking for:

	force group = +smbadm

That means the user has to already be a member of smbadm for their
group to be changed to smbadm when accessing this share.

Mike

On Thu, 22 Feb 2001, Dirk Kastens wrote:

> Zheng,
> 
> >    force group = smbadm
> > 
> > and the directory /export/spycam has permission mode:
> > 
> > drwxrwx---   3 root     smbadm       4096 Sep 19 10:06 /export/spycam/
> 
> If you use the "force group" option then every user who
> connects to the share will gain the access rights of
> the group, in your case smbadm. So everyone is able
> to read the files.
> 
> Regards,
> 
> Dirk Kastens............Tel.: +49 541 969-2347
> Universitaet Osnabrueck, Rechenzentrum (Computer Center)
> Albrechtstr. 28, 49078 Osnabrueck, Germany
> 
> 





More information about the samba mailing list