Re: [Bug Report] mod_perl runs with GID 0 !

Ben RUBSON <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
>> And what is a little bit frightening here is that Apache is launched by the #1025 user itself.
>> So how could it be possible for it to generate a file owned by group #0...
>> Very strange !
> 
> Something is misconfigured, but its not related to modperl.

You're totally right, and I would like to apologize for this, for lost time...

And many thanks to John H. too who gave me the clue, the SGID bit...
On BSD, group permissions are a little bit different than on Linux :
http://unix.stackexchange.com/questions/115631/getting-new-files-to-inherit-group-permissions-on-linux
The files created inside a directory will be owned by the group of the directory, not by the primary group of the user which creates the file...
This confused me...

I'm really sorry for the useless noise :|

Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.