From owner-freebsd-questions@FreeBSD.ORG Mon Mar 8 13:42:31 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 AE61416A4CE for ; Mon, 8 Mar 2004 13:42:31 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62D6943D41 for ; Mon, 8 Mar 2004 13:42:31 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i28LgPkU039118; Mon, 8 Mar 2004 15:42:25 -0600 (CST) (envelope-from dan) Date: Mon, 8 Mar 2004 15:42:25 -0600 From: Dan Nelson To: Alex de Kruijff Message-ID: <20040308214225.GA95503@dan.emsphone.com> References: <20040308212749.GC894@alex.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040308212749.GC894@alex.lan> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i 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: Mon, 08 Mar 2004 21:42:31 -0000 In the last episode (Mar 08), Alex de Kruijff said: > I just changed the permission and ownership of some files and was > denied writting to this file even though I'm in the group and the > group has write permissions. Did I forgot something or is this > strange? I thougth I should be able to write as user akruijff > > ls -loa > > drwxrwxr-x 2 www www - 512 Mar 8 21:57 ./ > drwxr-xr-x 16 akruijff akruijff - 1024 Mar 6 18:48 ../ > -rwxrwxr-x 1 www www - 4743 Mar 8 21:52 file.php* > -rwxrwxr-x 1 www www - 2431 Mar 8 21:53 functions.php* > -rwxrwxr-x 1 www www - 299 Mar 7 00:20 preview.php* > > cat /etc/group > > www:*:80:akruijff 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. -- Dan Nelson dnelson@allantgroup.com