help on the CHMOD command or Change Authority

View some of the Frequently Asked Questions to our support staff. Included are some tips and tricks making this forum ideal for users getting started with GoAnywhere Director. Note: Users can reply to existing topics but only our support staff can add new topics to this forum.

help on the CHMOD command or Change Authority

Postby Support_Julie » Mon Mar 23, 2009 11:08 am

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 = ---
Julie
Software Support
Linoma Software
Support_Julie
Support Specialist
 
Posts: 78
Joined: Thu Mar 05, 2009 3:49 pm
Location: Ashland, NE USA

Return to Knowledge Center

Who is online

Users browsing this forum: No registered users and 1 guest