Set File and Directory Permissions
You can change file permissions on the server using the server pane or the FTP command line. You can also configure global defaults for new files and directories. For individual sites, you can configure the client to query you for permission values each time you transfer a file or create a new directory.
To change file and directory permissions using the server pane
-
Connect to a UNIX or Linux host.
-
In the server pane, select one or more files or directories.
-
Right-click your selection and choose Properties .
-
Change the attributes of the selected item(s) using either of the following techniques:
-
In the Permission Mode box, type a three digit number that is a valid value for the UNIX chmod command. Valid values have digits from 0 to 7.
-
Under Owner , Group , and Public , select options to allow each user type permission to read, write, or execute.
-
-
Click OK .
To configure global defaults for transferred files or newly created directories
-
Go to Tools > Options
-
To set default permissions for uploaded and downloaded files, use the File Attributes tab.
-
To set default permissions for newly created directories, use the Directory Attributes tab.
-
Click OK .
To set permissions each time you transfer a file or create a directory
-
Open the site properties dialog box.
-
To set permissions each time you create a directory on the server, click the Directories tab and select Show attributes before creating directory .
-
To set permissions each time you transfer a file, click the Transfer tab and select either or both of the following options: Show download options before transfer and Show upload options before transfer .
-
-
Click OK .
To change file and directory permissions using the FTP command line
-
Connect to a UNIX or Linux host.
-
Press F7 to display the command line if it is not already visible.
-
Enter a UNIX chmod command using a numeric permission mask.
For example, the following commands sets attributes to
-rw-r--r--
for the specified file.chmod 644 myfile.htm
note
Permissions changes you make to directories are not recursive; that is they do not affect the files within the directory.
More information