Skip to content
linscpSecure file transfer for Linux and Windows
GitHub

commands

chmod

Change the permissions of remote files.

Generated from linscp 0.6.1
chmod <mode> <remote-file>...

Sets the permissions of each named file to <mode>, an octal number of three digits (644) or four, where the first digit holds the setuid, setgid and sticky bits (1777).

The last part of each name may be a mask, such as *.sh. A mask that matches nothing is handled as set by failonnomatch.

The server must support permissions; SFTP and SCP do, and many FTP servers accept SITE CHMOD.

failonnomatch (see option).

Terminal window
chmod 755 /home/alice/bin/deploy.sh
chmod 640 /var/www/html/*.php