Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

pn

Re: Wrong permissions set for a new directory

martin wrote:

This bug has been added to the tracker:
https://winscp.net/tracker/762


Just tested on version 5.0.4 beta with no luck. Getting deeper into the problem I just discovered that problem is probably related to SFTP server (wrong umask used) rather than to WinSCP client. It seems that no chmod operation is performed after mkdir by default using different sftp client (and WinSCP behaves the same way).

In any case, thanks for the fix made in "Create folder" dialog. It's now a bit simplier for users to force normal permissions to be set from client side as a work-around.
martin

Re: Wrong permissions set for a new directory

Thanks for your post. I'll check it.
pn

Wrong permissions set for a new directory

When creating a new directory on some target systems over SFTP-3 connection, wrong permissions are set due to a missing 'x' attribute (implicit settings). Also, when customizing permissions under "Create folder" dialog, 'x' attribute for 'ugw' is unchecked by default. The default value should be 0755 octal instead of 0644 for a new directory.

Tested on Winscp version 4.3.5 (WinXP SP3), but previous versions are probably affected by the issue.