I found Free/Net/OpenBSD semantic is different from Linux/Solaris.

Suppose there is a directory called 'directory,
With owner www, and group www and permission 0777.

Then I touch a file:
$ touch file
$ ls -la
total 4
drwxrwxrwx  2 www   www    512 May 31 17:14 .
drwxrwxrwt  8 root  wheel  512 May 31 17:14 ..
-rw-r--r--  1 patrick   www      0 May 31 17:14 file
The file created will have a group owner of the owner of the directory
not the creator.

So I have two questions here:
1. So is there a difference with SGID on directory?
2. Any idea about why it is different from SYSV (Linux/Solaris)?


 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to