cgiscript.com

 

ContactOrderAccountManualDemoScreenshotProducts 

 

Site Master

Previous

TOC

Next

 

 

CHMOD FILES

 

This command changes permission flags on selected files and directories.

Select files and directories you want to chmod, type the value and hit CHMOD button.

FYI:
The permission code consists of tree numbers. The three numbers represent permission masks for tree types of users: owner - first number, group member - second number, the rest of the world - third number. Each number can be 0 to 7. This is octal representation of binary code. There are three types of permissions: read, write and execute. If a permission is set, it is represented as binary value 1. If it is not set, its binary value is 0. Permissions for a given user are written in this sequence: read-write-execute. If all permissions are set we read this as binary 111. Its octal value is 7. If no permission is present the binary value is 000, octal - 0. A combination between 0 and 7 defines the permission flag for a given user. Thus read permission has binary representation - 100, octal - 4, write permission is represented as 010 in binary code, octal 2, execute permission in binary code will be 001, octal 1. Arithmetical sum of their values will give us the CHMOD code.
E.g. a CGI script is chmoded 755. What does that mean?
That means the owner has all permissions on the file, group member has read and execute permissions and others also have read and execute permissions.
If a file is chmoded 766 that means that its owner has full permission, the group has read and write permissions and the rest of the world has read and write permissions.

 

 

Previous

TOC

Next

 

 

 

 [Home] [Products] [Screenshots] [Demo] [Manual] [Account] [Order] [Contact us]

Copyright © 2003 cgiscriptshop.com