🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #121

Files created with group other than default

#121
From: Michael Pizolato
Date: Tue, 03 Nov 1992 16:42
16 lines
1277 bytes
When creating files in the / or /tmp directory, the group assigned to the file  is always "wheel" whether or not the user has wheel as the default group.  In fact, the file has wheel for the group whether or not the user has wheel in the group list at all!  Try this, both as a user who has wheel but not as the default group and as a user who does not have wheel at all:

	cd /tmp
	touch foo
	ls -lag foo

Substitue / for /tmp and try it again.  The file foo must not exist before you do this.  In our case, the group for the file foo is always wheel.  It doesn't seem to matter how the file is created - Edit does it, too.  This sounds like an OS bug.  Is this behaviour limited to system directories?  What are the rules that determine group ownership during file creation?  Anyone know anything about this?

Thanx,
Michael

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Technical Details
Message-ID: <1992Nov3.164259.432@afs.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!scott.skidmore.edu!psinntp!psinntp!afs!michael

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!scott.skidmore.edu!psinntp!psinntp!afs!michael
From: Michael_Pizolato@afs.com (Michael Pizolato)
Subject: Files created with group other than default
Message-ID: <1992Nov3.164259.432@afs.com>
Sender: michael@afs.com
Reply-To: Michael_Pizolato@afs.com
Date: Tue, 3 Nov 1992 16:42:59 GMT
Lines: 16