>>> On Wed, Mar 28, 2007 at  1:43 PM, in message
<[EMAIL PROTECTED]>, "McKown,
John" <[EMAIL PROTECTED]> wrote: 
> This is somewhat off- topic because I'm asking due to what I've noticed
> on my desktop Linux. But why are some things "setgid"? Is it just so
> that some files and/or subdirectories can be written to? I ask because
> I've noticed that most of the games on my desktop have the setgid bit on
> and have a group of "games". Anybody know why? What does the game do
> that needs a "setgid"?

John,

Just what do you mean by "setgid?"  According to the man page, "setgid  sets  
the  effective  group  ID  of the current process."  If you mean doing things 
like "chmod 2755" that's a different story.  That means that any files that get 
created in that directory will be assigned the same group ownership as what is 
on the directory, not the group id of the process/person creating the file.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to