From owner-freebsd-bugs Thu Dec 21 00:58:11 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA22482 for bugs-outgoing; Thu, 21 Dec 1995 00:58:11 -0800 (PST) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA22474 for ; Thu, 21 Dec 1995 00:57:47 -0800 (PST) Received: (from rbezuide@localhost) by zibbi.mikom.csir.co.za (8.6.12/8.6.9) id KAA18187 for bugs@freebsd.org; Thu, 21 Dec 1995 10:57:20 +0200 From: R Bezuidenhout Message-Id: <199512210857.KAA18187@zibbi.mikom.csir.co.za> Subject: Touch and group ig bug ??? To: bugs@freebsd.org Date: Thu, 21 Dec 1995 10:57:20 +0200 (SAT) X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org Precedence: bulk Greetings ... I have noticed the following behaviour of FreeBSD 2.1 compared to UNIX system V. What I'd like to know if this was done for a reason and if so, why ? Story line :) 1) ~> md test ~> cd test ~/test> ls -la total 4 drwxrwxr-x 2 rbezuide mikomtek 512 Dec 21 09:08 ./ drwx------ 22 rbezuide mikomtek 3072 Dec 21 09:08 ../ 2) ~/test> id uid=9990(rbezuide) gid=540(mikomtek) groups=540(mikomtek), 0(wheel), 5401(netsec) ~/test> 3) Now I su to root and do a "chgrp bin .". So ... 4) ~/test> ls -la total 4 drwxrwxr-x 2 rbezuide bin 512 Dec 21 09:08 ./ drwx------ 22 rbezuide mikomtek 3072 Dec 21 09:08 ../ ~/test> 5) NOW !!!! ~/test> touch try ~/test> ls -la total 4 drwxrwxr-x 2 rbezuide bin 512 Dec 21 09:12 ./ drwx------ 22 rbezuide mikomtek 3072 Dec 21 09:08 ../ -rw-rw-r-- 1 rbezuide bin 0 Dec 21 09:12 try ^^^^^ Why was the group of the file I touched changed to bin and not to mikomtek, which is my default group ?? Am I missing something here? On a HP-UX the the file "try"'s group is also mikomtek and NOT bin. Was this done for security reasons ? Thanx :) -- ######################################################################## # # # Reinier Bezuidenhout Company: Mikomtek CSIR, ZA # # # # Network Engineer - NetSec development team # # # # Current Projects: NetSec - Secure Platform firewall system # # http://www.mikom.csir.co.za # # # # E-mail: rbezuide@mikom.csir.co.za # # # ######################################################################## ----- End of forwarded message from Mail Delivery Subsystem ----- -- ######################################################################## # # # Reinier Bezuidenhout Company: Mikomtek CSIR, ZA # # # # Network Engineer - NetSec development team # # # # Current Projects: NetSec - Secure Platform firewall system # # http://www.mikom.csir.co.za # # # # E-mail: rbezuide@mikom.csir.co.za # # # ########################################################################