WS_FTP - How can I send CHMOD commands in version 8.0?

Product: Version: Platform:
WS_FTP 8.0+ All

Question/Problem: How can I send CHMOD commands in version 8.0?

Answer/Solution: Version 8 moved the CHMOD functions to the Properties area. You can right-click on the file, choose Properties. This change was made to give users the ability to change permissions on multiple files/folders at once.

Note: CHMOD -- the functionality to change permissions using a numeric
  value was re-added in version 8.01. If you highlight a file and choose
  Properties you will see where you can add the numeric value.

Permissions can also be expressed as three- or four-digit values;
for example: 1644.

* The first digit is interpreted as follows:

o If the first digit is 1 (known in UNIX circles as the "sticky bit"), it sets the link permission to directories or sets the "save-text" attribute for a file.

o If the first digit is 2, it sets the group ID on execution.

o If the first digit is 4, it sets the user ID on execution.

* The second digit expresses Owner permissions:

* The third, Group permissions:

* The fourth, Other.

Four-digit values are used in the WS_FTP Pro log, in the message area, and by some system administrators and ISPs. The table below shows how WS_FTP Pro check box options correspond to the last three digits. The third column shows the possible values for Owner, Group, and Other as viewed in the ten-position value in the first column of a directory list for a UNIX site.
Selected options in WS_FTP Pro:
2nd, 3rd, or 4th digit of 4-digit number
Permissions in directory list
none
0
---
Execute
1
--x
Write
2
-w-
Write, Execute
3
-wx
Read
4
r--
Read, Execute
5
r-x
Read, Write
6
rw-
Read, Write, Execute
7
rwx
In the directory list, the first position indicates whether the item is a file (-, s, S, or t) or directory (d), while positions two through ten show the permissions for Owner, Group, and Other.

For example, the value 751 corresponds to drwxr-x--x in the directory list.
This expression is comprised of four parts.

Document #:   Revision Date:
WS-20030620-DM02   01/10/05

Return To KnowledgeBase Search Page