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: Permission Denied - Error Code 3

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
sg83

Permission Denied - Error Code 3

Hello,

Hopefully someone here can point me in the right direction. I have an SFTP server where I'm only giving a particular user list permissions for a folder tree up until they get to the subdirectory they actually need read permissions to. My user is running into issues when using WinSCP, as it tries to open a folder using SSH_FXP_LSTAT, which to my knowledge requires read permissions. FileZilla works fine, as it only uses SSH_FXP_OPEN.

I'm not a frequent WinSCP user, myself. I tend to stick with FileZilla as an FTP/SFTP client. Is there any way to get WinSCP to do a regular OPEN instead of an LSTAT? I really want to avoid giving the user read permissions to all parent folders in order to allow WinSCP to work.

Thanks!