[PLUG] Problems with permissions and group membership...I thnik

sothisistheinternet sothisistheinternet at gmail.com
Sun Oct 1 11:24:43 WST 2006


Thanks Steve. Around 2am last night I found a well hidden thread somewhere
on google groups with this same solution. It worked. I almost cried...

Ari

On 10/1/06, Steve Boak <sboak at westnet.com.au> wrote:
>
> On Sunday 01 October 2006 01:10, sothisistheinternet wrote:
> > I made a test directory with the same result: members of the sambaaccess
> > group cannot cd into it unless I use newgrp sambaaccess (and even then,
> > it's only for that shell window, not other programs):
> > [root at server1 /]# mkdir /test
> > [root at server1 /]# chmod 770 /test
> > [root at server1 /]# chgrp sambaaccess /test
> >
> > this has got to be something so obvious that I'm going to feel very
> > silly....right?
> >
> Dunno about feeling silly, but I got caught with what sounds like the same
> problem - the group add does not take effect until you log out and back in
> again because your current session uses a copy of the conditions (group
> memberships included) when you started it. Killing your current terminal
> and
> starting another under a single GUI session is not enough.
>
> Steve
>
> > On 10/1/06, sothisistheinternet <sothisistheinternet at gmail.com> wrote:
> > > more information:
> > >
> > > The only areas where my group's users cannot go are /sambadirectory
> (the
> > > problem), /root, and /lost+found (I'm using Nautilus).
> > >
> > > /sambadirectory is a separate drive mounted in fstab as
> /sambadirectory,
> > > if that's of any consequence...
> > >
> > > On 10/1/06, sothisistheinternet <sothisistheinternet at gmail.com> wrote:
> > > > Hi all,
> > > >
> > > > I've just installed FC5 and am having a play with permissions on a
> > > > directory that will become a samba share. I want members of the
> > > > sambaaccess group to have access, but noone else.
> > > >
> > > > - I created the sambaaccess group.
> > > > - I used gpasswd +a [user] [group] to add the users (I had already
> > > > created with useradd) to the sambaaccess group
> > > > - I did a chgrp sambaaccess to the directory I'm working with,
> > > > /sambadirectory
> > > > - I did chmod 770 /sambadirectory
> > > >
> > > > When I log in as a user that is a member of the sambaaccess group I
> > > > cannot even cd into the directory unless I chmod 775
> /sambadirectory.
> > > >
> > > > What am I doing wrong?
> > > >
> > > > Thanks,
> > > >
> > > > Ari
>
> --
> Steve Boak, (08) 9756 0662, P.O. Box 240, Nannup, WA 6275
> Nannup Telecentre IT support, ph (08) 9756 3022
> Engin (VoIP) number (08)64616187 (Local number in Perth)
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20061001/5a10e475/attachment.html>


More information about the plug mailing list