From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 06:10:45 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 9AFA016A4CE for ; Tue, 9 Mar 2004 06:10:45 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C000243D53 for ; Tue, 9 Mar 2004 06:10:44 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i29EAQRA078892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Mar 2004 14:10:26 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i29EAPoW078891; Tue, 9 Mar 2004 14:10:25 GMT (envelope-from matthew) Date: Tue, 9 Mar 2004 14:10:25 +0000 From: Matthew Seaman To: Marty Landman Message-ID: <20040309141025.GB16123@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Marty Landman , Dan Nelson , Alex de Kruijff , freebsd-questions@freebsd.org References: <20040308212749.GC894@alex.lan> <20040308214225.GA95503@dan.emsphone.com> <6.0.0.22.0.20040308165050.104aea98@pop.face2interface.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pvezYHf7grwyp3Bc" Content-Disposition: inline In-Reply-To: <6.0.0.22.0.20040308165050.104aea98@pop.face2interface.com> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: Dan Nelson 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 14:10:45 -0000 --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 08, 2004 at 04:53:12PM -0500, Marty Landman wrote: > At 04:42 PM 3/8/2004, Dan Nelson wrote: >=20 > >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. >=20 > 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. =20 > It's kind of strange but true how you could be logged onto the same accou= nt=20 > on two different ttys or ssh sessions and have different sets of gids or= =20 > 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 --=20 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 --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATdBRdtESqEQa7a0RAoSsAKCPyzuwHmhM3izxwShII+EAYPgYyACfVNYq 9c5dJlXQBAvZPue6rA58nt0= =8RYJ -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--