gabriel rosenkoetter on Wed, 10 Jul 2002 22:50:10 +0200


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

Re: [PLUG] Program permission


On Wed, Jul 10, 2002 at 08:23:00AM -0500, Naresh G. Reddy wrote:
> chown <user> <program>
>  ex. # chown naresh pine

Sure...

> chgrp <group name> <program>
>  ex. # chgrp naresh pine

... irrelevant in light of...

> chown 700 program
>  ex. # chown 700 pine

... but you mean chmod(1), not chown(8), here. (chown 700 will change
ownership to the uid 700, which *might* be naresh, but probably
isn't.)

Changing the group owner doesn't matter if you don't give the group
any permissions (the first 0 in 700).

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpy3wRgBxrky.pgp
Description: PGP signature