Date: Mon, 18 Mar 2013 20:40:16 -0400 (EDT) From: Tuc <tuc@t-b-o-h.net> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/177087: Wrong gid on file creations Message-ID: <201303190040.r2J0eGll001310@e-nfs-01.ame.admarketplace.net> Resent-Message-ID: <201303182050.r2IKo07v012779@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177087 >Category: kern >Synopsis: Wrong gid on file creations >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 18 20:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tuc >Release: FreeBSD 9.1-RELEASE amd64 >Organization: TBOH >Environment: System: FreeBSD e-nfs-01.ame.admarketplace.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fresh install, create new user, touch /tmp/foo, see wrong gid >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 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303190040.r2J0eGll001310>