ssh2_sftp_chmod

PECL ssh2 >= 0.12
ssh2_sftp_chmod - Changes file mode
Manual
Code Examples

Example #1 Changing the mode of a file on a remote server

PHP Version: