This is an old revision of the document!

Documentation » Using WinSCP »

Permissions

On several occasions you may need, or you may have the opportunity to set remote file permissions (Unix-style). This includes:

Advertisement

Dialogs associated with the above operations will include box (or popup box) similar to the one below.

Undefined Permissions

When explicitly changing permissions of existing remote files, the checkboxes can be set to undefined state.1 It means that the particular permissions should be left to its current state. This is useful when you want to change one particular permission for set of files/directories that have different permissions.

Note that this will not work fully for SCP protocol for files in subdirectories.

Octal Format

The Octal box shows octal number representation of the permissions set by the above checkboxes. You can enter the octal format directly instead of manually ticking the checkboxes. If you enter only three numbers, the leading zero for unset special permissions is added automatically. When any of the checkboxes are in undefined state the Octal box is empty.

Note that if permissions box pops up from an edit box, you can enter permissions in octal format directly into the edit box, without having to pop it up.

Advertisement

Other Options

The Add X to directories checkbox makes WinSCP add “execute” permission to directories for every permission group (owner/group/others) where there is a “read” permission set already.

On the Properties dialog, the option is available only when there is at least one directory selected. Also it will not work for SCP protocol for subdirectories of the selected directories.

The checkbox is disabled, if you check “execute” permissions explicitly for all permission groups, as it makes it effectively useless.

  1. Small black square on Windows 10 and Windows 8; Blue square on Windows 7 and Vista; Green square on Windows XP (all for default themes).Back

Last modified: by 47.9.219.5