Permission Denied - Error Code 3

Advertisement

sg83
Joined:
Posts:
1

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!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum