Why can't I write this file?

Dan Nelson dnelson at allantgroup.com
Mon Mar 8 13:42:31 PST 2004


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 at allantgroup.com


More information about the freebsd-questions mailing list