Have you relogged in after adding the user to the group file? (su -l should do the trick as well if you can't log out/relog in for some reason)
Otherwise you'll get exactly the behaviour you described below. Armin On Mon 04 May 2009, Shaun Friedle wrote: > Hi, > I seem to have a weird problem with groups, it seems like the system > doesn't notice that I am in certain groups when it comes to file > permissions, and if I run groups or id with no arguments it also has > some groups missing from the list, but with my username as an argument > it is complete. I've never encountered this before, does anyone know > what the problem might be? > > [sh...@strange] ~ $ ls -lh /tmp/group_test > -rw-rw-r-- 1 www mercurial 0B 4 May 14:08 /tmp/group_test > [sh...@strange] ~ $ echo test > /tmp/group_test > bash: /tmp/group_test: Permission denied > [sh...@strange] ~ $ whoami > shaun > [sh...@strange] ~ $ grep shaun /etc/group > wheel:*:0:root,shaun > www:*:80:shaun > shaun:*:1002: > svn:*:1004:svn,shaun > mercurial:*:1006:shaun,www > [sh...@strange] ~ $ groups > shaun wheel svn > [sh...@strange] ~ $ groups shaun > shaun wheel www svn mercurial > [sh...@strange] ~ $ id > uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),1004(svn) > [sh...@strange] ~ $ id shaun > uid=1002(shaun) gid=1002(shaun) > groups=1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial) -- Armin Pirkovitsch a.pi...@inode.at _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"