File Permissions (Re: [plug] Cookies)

Matt Kemner zombie at wasp.net.au
Wed Nov 29 14:51:15 WST 2000


On Wed, 29 Nov 2000, Bret Busby wrote:

> If permissions are to be set, then, wouldn't 606 (r+w , for root and for
> user), be more appropriate? That would allow root, and the user, to see
> what, if anything, is in the file, and, to clear its contents, when
> appropriate. 

Bret, the order for file permissions are

"owner of the file", "members of the group", "everyone else"

Never, ever, set the last digit to anything but 0,1,4 or 5 on any file 
unless you want everybody with access to your system to be able to write
to that file.

Please re-read the chmod manpage.  It might save you from making a costly
mistake.

 - Matt




More information about the plug mailing list