Date: Thu, 21 Dec 1995 10:57:20 +0200 (SAT) From: R Bezuidenhout <rbezuide@mikom.csir.co.za> To: bugs@freebsd.org Subject: Touch and group ig bug ??? Message-ID: <199512210857.KAA18187@zibbi.mikom.csir.co.za>
index | next in thread | raw e-mail
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 #
# #
########################################################################
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512210857.KAA18187>
