Page 1 of 1

help on the CHMOD command or Change Authority

Posted: Mon Mar 23, 2009 11:08 am
by Support_Julie
There is no current help on the CHMOD command or Change Authority sub task in FTP. It will be added to the next release.


The way the chmod command works is the following:

The field will take 3 numbers which can be 1, 2, 3, 4, 5, 6 or 7

An example would be 711

The first number is authority for the owner of the object.

The second number is for users who are members of the file's group

The third number is for public or all other users who are not owners or members of the group

Example:

File: /temp/Demo.amb
Directory: _____________
Input Files Variable: _____________
Permissions * 777

1 = execute authority
2 = write authority
4 = read authority

octal system
r=4 w=2 x=1

7 4+2+1 = rwx
6 4+2 = rw-
5 4+1 = r-x
4 4 = r--
3 2+1 = -wx
2 2 = -w-
1 1 = --x
0 0 = ---