[Tutor] Getting GID info

Steve Nelson sanelson at gmail.com
Fri Jan 19 15:16:23 CET 2007


Hello all,

I want to produce stats on file ownership.  I am aware that I can use
stat to obtain a file statistics tuple, and with the pwd method I can
convert the UID to username.  However, is there a similar method that
will tell me that GID 1 == "staff"?

S.


More information about the Tutor mailing list