tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: initial file ownership
@ 2000-02-26 19:03 Horst G. Reiterer
  0 siblings, 0 replies; only message in thread
From: Horst G. Reiterer @ 2000-02-26 19:03 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

My question was why Linux sets the initial group of a file differently than
tru64 does and how to change that...

Thanks to:

    Stan Horwitz <stan@astro.ocis.temple.edu>
    Michael A Crowley <mcrowley@MtHolyoke.edu>
    Udo de Boer <udo.de.boer@live.demon.nl>
    Piotr Konieczny <znahor@venus.wmid.amu.edu.pl>

Stan meant one could always reset the group of a created file, however I
want it to be set 'correctly' the first time.
Michael pointed out that there are two different types, how groups are
assigned:

       grpid or bsdgroups / nogrpid or sysvgroups
              These  options define what group id a newly created
              file gets.  When grpid is set, it takes  the  group
              id  of the directory in which it is created; other�
              wise (the default) it takes the fsgid of  the  cur�
              rent  process,  unless the directory has the setgid
              bit set, in which case it takes the  gid  from  the
              parent  directory, and also gets the setgid bit set
              if it is a directory itself.

That's what I was looking for, the reason for the difference is that tru64's
default is grpid, Linux' default is nogrpid!

Thanks again to everyone!


cheers,

    Horst Reiterer

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-26 19:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-26 19:03 SUMMARY: initial file ownership Horst G. Reiterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox