Question about the difference of with and without SGID on directory
- From: Patrick Dung <patrick_dkt@xxxxxxxxxxxx>
- Date: Thu, 31 May 2007 10:19:51 -0700 (PDT)
Hi
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)?
Thanks
Patrick
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Question about the difference of with and without SGID on directory
- From: Matthew Seaman
- Re: Question about the difference of with and without SGID on directory
- Prev by Date: Re: OT: Re: The worst error message in history belongs to... BIND9!
- Next by Date: cannot enable VESA_800x600 raster text mode
- Previous by thread: Squid and IPFW
- Next by thread: Re: Question about the difference of with and without SGID on directory
- Index(es):
Relevant Pages
|
|