From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 13:10:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2990E16A4CF for ; Tue, 9 Mar 2004 13:10:52 -0800 (PST) Received: from voyager.twobirds.us (c-24-18-222-18.client.comcast.net [24.18.222.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC2A43D2F for ; Tue, 9 Mar 2004 13:10:52 -0800 (PST) (envelope-from joshua@twobirds.us) Received: from joshua by voyager.twobirds.us with local (Exim 4.30; FreeBSD) id 1B0odV-000Irq-O2; Tue, 09 Mar 2004 13:19:37 -0800 Date: Tue, 9 Mar 2004 13:19:37 -0800 From: Joshua Lokken To: Matthew Seaman Message-ID: <20040309211937.GB72299@voyager.swabbies.org> Mail-Followup-To: Matthew Seaman , freebsd-questions@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040309141025.GB16123@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Why can't I write this file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 21:10:52 -0000 * Matthew Seaman [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. > > 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