Topic "Permission Denied - Error Code 3"

Author Message
[View user's profile]

Joined: 2015-11-16
Posts: 1

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.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
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.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License