Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 15:42:25 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Alex de Kruijff <freebsd@akruijff.dds.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why can't I write this file?
Message-ID:  <20040308214225.GA95503@dan.emsphone.com>
In-Reply-To: <20040308212749.GC894@alex.lan>
References:  <20040308212749.GC894@alex.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040308214225.GA95503>