[SWLUG] File permissions
justin at discordia.org.uk
Sat May 13 17:54:20 UTC 2006
On Sat, 2006-05-13 at 13:25 +0100, Chris M. Jackson wrote:
> On 5/13/06, peter <apvx95 at dsl.pipex.com> wrote:
> > Here's a silly on I'm sure one of you Linux sysadmins will be able to
> > clear up for me in about 2 seconds flat.
> Here goes ...
> > Can someone please put me out of my misery and point out what I'm
> > getting wrong?
most likely you created and edited the groups whilst still having the
shell open, it wont pick up any new groups until you start a new
session, or run newgrp.
> "id" to see what group you're in, and what other groups you can be in,
> and then "newgrp web" to change to that group. IIRC, for each login
> you can be in one group at a time.
not quite, you can only have one 'active' group at a time, ie the group
that your files will be created as by default, in the abscence of a
group sticky bit on the directory.
as far as access permissions go, your in all of your groups all the
time. you just wern't a member of that group when the shell was
started. the id command will have showed that group missing from the
More information about the Swlug