Simple Question

Guy Harris guy at auspex.auspex.com
Mon Feb 11 12:31:54 AEST 1991


>There are also various hybrid systems that implement both methods.

I presume Doug is referring here to the fact that some systems let a
process be in more than one group (the limit in many systems is larger
than 8; it's 16 in 4.3BSD and many other systems, and may be
(configurably?) higher than 16 in S5R4), but don't always assign a
newly-created file the group ID of the parent directory.  The model used
in SunOS 4.x (unless a file system is mounted with the "always use the
parent directory") flag, and in S5R4, is that if the parent directory
doesn't have the set-GID bit set, the GID is the effective group ID, and
if it has that bit set, it's the GID of the parent directory.

(Those systems may also have a "newgrp" command to let you set the
effective group ID.)



More information about the Comp.unix.questions mailing list