Date: Mon, 4 May 2009 16:59:06 +0200 From: Maciej Milewski <milu@dat.pl> To: Shaun Friedle <shaun@insipidity.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Groups problems Message-ID: <200905041659.06818.milu@dat.pl> In-Reply-To: <49FEFAA1.4030503@insipidity.co.uk> References: <49FEFAA1.4030503@insipidity.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Monday 04 May 2009 16:24:33 Shaun Friedle napisa=B3(a): > 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? > > [shaun@strange] ~ $ ls -lh /tmp/group_test > -rw-rw-r-- 1 www mercurial 0B 4 May 14:08 /tmp/group_test > [shaun@strange] ~ $ echo test > /tmp/group_test > bash: /tmp/group_test: Permission denied > [shaun@strange] ~ $ whoami > shaun > [shaun@strange] ~ $ grep shaun /etc/group > wheel:*:0:root,shaun > www:*:80:shaun > shaun:*:1002: > svn:*:1004:svn,shaun > mercurial:*:1006:shaun,www > [shaun@strange] ~ $ groups > shaun wheel svn > [shaun@strange] ~ $ groups shaun > shaun wheel www svn mercurial > [shaun@strange] ~ $ id > uid=3D1002(shaun) gid=3D1002(shaun) groups=3D1002(shaun),0(wheel),1004(sv= n) > [shaun@strange] ~ $ id shaun > uid=3D1002(shaun) gid=3D1002(shaun) > groups=3D1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial) Have you done relogin on this account? =2D-=20 Pozdrawiam, Maciej Milewski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905041659.06818.milu>