[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Group ID



Colin Watson wrote:

On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote:
If i had to regenerate a config file that a program uses, is it possible to
detect what GID the program uses if it is set from within the program?

Any particular reason it can't just be root:root -rw-r--r-- (if it's in
/etc) or owned by you (if it's in your home directory)? That's what most
configuration files are.

I set them all to my own user:group, but mozilla seems to have
some 'stuck' settings. I found a useful command is:
 ps -eo pid,user,euser,fuser,group,egroup,fgroup,cmd



Reply to: