setgid bit always unset when changing file permissions
My Setup:
WinSCP 4.2.7 build 758 Running on Windows XP SP3.
SFTP session.
I am using directories with setgid bit set. I want to change the permissions of newly created directories to give write permission to the group (by default they have not). For this I right-click on the directory and change the permissions from the Properties dialog.
When I change the permissions of a directory that way, the setgid bit gets removed. In fact, there is no way to set the setgid bit, it just always gets turned off, whatever operation one does on permissions.
I have found a workaround by creating a custom command that executes chmod -R g+w "!" and applies on directories. This works fine.
WinSCP 4.2.7 build 758 Running on Windows XP SP3.
SFTP session.
I am using directories with setgid bit set. I want to change the permissions of newly created directories to give write permission to the group (by default they have not). For this I right-click on the directory and change the permissions from the Properties dialog.
When I change the permissions of a directory that way, the setgid bit gets removed. In fact, there is no way to set the setgid bit, it just always gets turned off, whatever operation one does on permissions.
I have found a workaround by creating a custom command that executes chmod -R g+w "!" and applies on directories. This works fine.