Hi On Thu, Apr 06, 2006 at 10:10:41AM -0500, Michael Schurter wrote: > ChadDavis wrote: > >Hello. I need to know how the group ownership of a file is decided in > >debian. Also, is it the same for all linux systems? > > All Linux (and probably Unix) filesystems store a group ID number (gid) on a > per-file basis. The gid is looked up in /etc/group to get the textual group > name you're used to seeing. > > All users have a primary group membership as well as any number of secondary > group memberships. (use the /usr/bin/id command to get that info) When a > user creates a file, that file's group owner is set to the users primary > group. well that is not _completly_ true... at least in my expirience if the user has write permisions in the diectory only because of a certain group membership (for example in /usr/src with the src group) the gid of the file is set to respective group and not the users primary group.
yours Albert
pgpX8uzDBpqN7.pgp
Description: PGP signature