Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 00:11:44 -0700 (PDT)
From:      robert-spam99@nisse.dk
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/19910: wrong group when creating files
Message-ID:  <20000714071144.5002637C5B3@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19910
>Category:       kern
>Synopsis:       wrong group when creating files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 14 00:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Robert Martin-Legene
>Release:        4.0-RELEASE
>Organization:
>Environment:
FreeBSD jenslyn.nisse.dk 4.0-RELEASE FreeBSD 4.0-RELEASE #22: Wed Jul 12 14:22:05 ART 2000     r@jenslyn.nisse.dk:/usr/src/sys/compile/JENSLYN  i386

>Description:
Upon creating a file, it will be created in the same group as the
directory in which it is being created, even if you are not a member
of this group. I removed my sticky bit on /tmp and tested it there.

I suppose the kernel thinks that 02000 is on the directory.

r@jenslyn(1) ~ $ ls -ld / /tmp /tmp/group-test
ls: /tmp/group-test: No such file or directory
drwxr-xr-x  18 root  wheel   512 Jul 12 14:22 /
drwxrwxrwx   9 root  uucp   1024 Jul 14 03:54 /tmp
r@jenslyn(1) ~ $ touch /tmp/group-test
r@jenslyn(0) ~ $ ls -ld / /tmp /tmp/group-test
drwxr-xr-x  18 root  wheel   512 Jul 12 14:22 /
drwxrwxrwx   9 root  uucp   1024 Jul 14 03:54 /tmp
-rw-r--r--   1 r     uucp      0 Jul 14 03:54 /tmp/group-test
r@jenslyn(0) ~ $ id
uid=1000(r) gid=1000(r) groups=1000(r), 0(wheel), 53(bind), 1005(familia), 1500(users)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000714071144.5002637C5B3>