Re: Change permissions and SFTP
We have a problem when using the SFTP (transfer) protocol and creating/changing permissions on directories. The base permissions on the directories are (octal) 2775. When a new subdirectory is created, it cannot set the "Set GID" permission on the new directory, although the owner:group is set correctly.
This is typically problem of the SFTP server. I believe that WinSCP issues the command properly.
From the command line (within the SFTP session, not a shell), the command "chmod 2775 testfolder" results in the following error:
Current SFTP-3 session does not support command you request. Separate shell session may be opened to process the command. Do you want to open separate shell session?
Is the command issued exactly as you've posted? Because "chmod" command should never result in that error. What version of WinSCP are you using?