I have a problem with directory permissions. I would like to set the rights to just created directory to "rwxrwx---" but everything what I have done, hasn't made the permissions to requested. Also when I have copied directories they haven't been set with correct permissions.
Here is what I have done:
I have set the checkbox "Set permissions" in "Upload options. I have set there also "rw-" for owner and "rw-" for group and "---" for others. I have set also "Add X to directories" checkbox. When I created the directory the permissions were "rwxr-xr-x". When I copied the directory the permissions were "rwxr-x---". That rights were set using SFTP (v3)protocol. During using SCP protocol when I copied the directory the right were set to "rwxrwx---" (correctly) but when I created the directory then the rights were "rwxr-xr-x" as with SFTP.
My question is: do I make something wrong or is that a problem with winscp (or maybe ssh server)?
Redhat linux 9.0 with OpenSSH 3.8p1 (umask set to rwxrwx---)
WinSCP 3.6.1 build 221