AW: strange permission problem
liu at TI.FhG.DE
Thu Feb 22 13:52:04 GMT 2001
thanks a lot for your help. I use "force group = +groupname" instead
"force group = groupname" and get the effect what I want. that means
I only allow the member of this group to create file or directory
on this share and they owned by this group. The other users aren't
allowed to read and write in this share.
"MCCALL,DON (HP-USA,ex1)" schrieb:
> 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,
> -----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.
> 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