Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 1998 19:41:27 -0700
From:      Steve Khoo <steve@gordian.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   group id of files created on ufs filesystem
Message-ID:  <35A2DC57.59FB844C@gordian.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD-2.2.6-STABLE ~ Jun-15-1998.

The group id of files created on FreeBSD ufs filesystem get set to the
group id of the directory.  Is this the expected behavior?  I expected
the file created to have the group id of the user.

/tmp> whoami
test
/tmp> groups
random
/tmp> pwd
/tmp
/tmp> ls -ld
drwxrwxrwt  4 bin  bin  512 Jul  7 19:30 ./
/tmp> ls
amanda/                 d_ts32.exe.18998*
/tmp> touch junk
/tmp> ls -l junk
-rw-rw----  1 test  bin  0 Jul  7 19:31 junk
/tmp> 

This appears to happen with cp as well.

Please advise...

Thanks!

SEK
-- 
Steve E. Khoo                           GORDIAN
Systems Manager                         20361 Irvine Ave
Internet: steve@gordian.com             Santa Ana Heights, CA 92707
Voice:(714)850-0205 Fax:(714)850-0533   HTTP://WWW.GORDIAN.COM
Wanna be blacklisted by our spam filter? mailto: aablme@gordian.com

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35A2DC57.59FB844C>