Re: setgid on directories by default?
From: Peter Matulis (petermatulis_at_yahoo.ca)
Date: 04/29/04
- Next message: DrumFire: "Re: virtual mail users"
- Previous message: Istvan: "Re: network card problem"
- In reply to: Peter Strömberg: "Re: setgid on directories by default?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 10:53:58 -0400
On 29 Apr 2004 07:49:45 GMT, "Peter Strömberg" <wilfried@spamcop.net>
wrote:
>Peter Matulis <petermatulis@yahoo.ca> wrote in
>news:sp21901dangonde1cd7tifcocvg7s0r329@4ax.com:
>
>> From some tests I've done (on 3.4) a newly created file (or directory)
>> always takes on the group ownership of the parent directory no matter
>> what permissions are set for the parent. This is like setgid on
>> directories by default. Is there any way to undo this?
>
>That is how it is on bsd systems
>
>>From open(2) and mkdir(2):
>"When a new file is created it is given the group of the directory which
> contains it."
>"The directory's group ID is set to that of the parent directory in which
> it is created."
Thanks.
- Next message: DrumFire: "Re: virtual mail users"
- Previous message: Istvan: "Re: network card problem"
- In reply to: Peter Strömberg: "Re: setgid on directories by default?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|