Date: Tue, 9 Mar 2004 13:19:37 -0800 From: Joshua Lokken <joshua@twobirds.us> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Why can't I write this file? Message-ID: <20040309211937.GB72299@voyager.swabbies.org> In-Reply-To: <20040309141025.GB16123@happy-idiot-talk.infracaninophile.co.uk> References: <20040308212749.GC894@alex.lan> <20040308214225.GA95503@dan.emsphone.com> <6.0.0.22.0.20040308165050.104aea98@pop.face2interface.com> <20040309141025.GB16123@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
* Matthew Seaman <m.seaman@infracaninophile.co.uk> [2004-03-09 14:34]: > On Mon, Mar 08, 2004 at 04:53:12PM -0500, Marty Landman wrote: > > At 04:42 PM 3/8/2004, Dan Nelson wrote: > > > > >What do you get if you run the "id" command? Try logging out and back > > >in. Group memberships are checked at login time, so if you were added > > >to the www group recently, your current shell may not know about it. > > > > Would rehash fix that or do you have to log back in? > > No -- rehash only applies to tcsh(1)'s lookup cache of all of the > executables found on $PATH. And so please excuse my erroneous response. > > It's kind of strange but true how you could be logged onto the same account > > on two different ttys or ssh sessions and have different sets of gids or > > commands available to you. <just thinking out loud> > > Yes, quite. Your login credentials are established when you login to > the system and only then -- that's when the limits of what you're > authorized to do are set, which includes amongst other things which > groups you're a member of. So you have to log out and back in again > to pick up any changes to /etc/master.passwd or /etc/group. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK Joshua
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309211937.GB72299>