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

martin

Re: WinSCP changes permissions on Edit?

Please enable session logging and once the problem occurs, attach a respective log here. Also attach a log showing correct upload (for comparison).
dsiomtw

WinSCP changes permissions on Edit?

I can't seem to pin it down, and it seems pretty random, but every now and then when I edit a file via WinSCP it changes the permissions on the file when it's re-uploaded. This can have disastrous consequences when you're dealing with CGI scripts, etc. I can't find any options or settings that would cause this. Is there a known bug re: this or am I missing something somewhere? At least once a week I will edit a file, WinSCP will re-upload it and the permissions get changed from 755 to 644 which makes CGI scripts not execute any more.