Date: Mon, 18 Mar 2013 21:30:01 GMT From: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/177087: Wrong gid on file creations Message-ID: <201303182130.r2ILU1hh020430@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/177087; it has been noted by GNATS. From: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org> To: Tuc <tuc@t-b-o-h.net> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/177087: Wrong gid on file creations Date: Mon, 18 Mar 2013 17:24:14 -0400 Tuc <tuc@t-b-o-h.net> writes: >>How-To-Repeat: > $ cd /tmp > $ touch foo > $ ls -l foo > -rw-r--r-- 1 tuc wheel 0 Mar 18 20:36 foo > $ grep tuc /etc/passwd > tuc:*:1001:1001:Tuc:/home/tuc:/bin/sh > $ id > uid=1001(tuc) gid=1001(tuc) groups=1001(tuc),0(wheel) > $ cd /var/tmp > $ touch foo > $ ls -l foo > -rw-r--r-- 1 tuc wheel 0 Mar 18 20:37 foo > > root@e-nfs-01:/root # mkdir /foo > root@e-nfs-01:/root # chmod 777 /foo > root@e-nfs-01:/root # exit > logout > $ cd /foo > $ touch foo > $ ls -l foo > -rw-r--r-- 1 tuc wheel 0 Mar 18 20:39 foo What group were you expecting? Those directories normally belong to the wheel group, so new subdirectories will be too.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303182130.r2ILU1hh020430>