Topic "Permission denied - Error code 3"

Author Message
guest

Guest


Can anyone point me in the right direction to solve my problem?

When I try to transfer a file I get the following error:

Permission denied
Error Code: 3
Error message from server: Permission denied
Request Code: 3
Advertisements
dlaws

Guest


I have the same problem as what you are facing and i dont know what to do.

I found the post below and it seemed to have worked for the guy asking the question, it may work for you? Ive not had any luck with it, please let me know if you crack it.

http://communities.vmware.com/message/533317


Regards
d
gate4Win
[View user's profile]

Joined: 28 Sep 2007
Posts: 2
Location: Gate - Rivire-du-Loup, Qubec (Canada)
Just follow the each step and you will get it fixed:

1) Open WinSCP
2) Bottom-left --> put a check on Advanced options
3) Bottom of white window (Just above Advanced options) --> Left click on Preferences
4) Now move to your right in line 2/3 of the way --> Left click on the Preferences "Radio-type" Button
5) Now in the "Confirmations" box, 4th item from the top, Transfer resuming remove the 'check-mark'
6) Left-click on the OK Button -----> You're done ! Enjoy it

jga
gate4Win
[View user's profile]

Joined: 28 Sep 2007
Posts: 2
Location: Gate - Rivire-du-Loup, Qubec (Canada)
DLAWS:

Please forget about the previous reply (Posted: 28 Sep 2007 05:46).

The problem is with permission security of your server. (My server ---> FreeBSD 6.2)

The only way I could sign-in and transfer/delete/etc.. files from/to my PC was to give "root" permission to login through SSH login. (Have to set PermitRootLogin yes) in "sshd_config" file.

No more "Permission denied - error code 3".

Gate
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 21295
Location: Prague, Czech republic
guest wrote:
Can anyone point me in the right direction to solve my problem?

When I try to transfer a file I get the following error:

Permission denied
Error Code: 3
Error message from server: Permission denied
Request Code: 3

Please post a main error message too.
_________________
Martin Prikryl
acnow2

Guest


I am using winscp to access my aws instance. I followed all the steps http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html#putty-private-key and I was able to connect but when I am going to edit any directory it gives me this error


Permission denied.
Error code: 3
Error message from server: Permission denied

Any idea why is doing that? Thanks in advance! Al
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 21295
Location: Prague, Czech republic
acnow2 wrote:
I am using winscp to access my aws instance. I followed all the steps http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html#putty-private-key and I was able to connect but when I am going to edit any directory it gives me this error


Permission denied.
Error code: 3
Error message from server: Permission denied

Duplicate post:
http://winscp.net/forum/viewtopic.php?t=14235
_________________
Martin Prikryl
dceddy
[View user's profile]

Joined: 29 Aug 2014
Posts: 1
I'm having a similar problem to the prior report as shown on this attachment with no Request Code shown on the error message. I try to upload one file with no problem, but have this problem only on a new file as shown. both of these files are the same for permissions settings. I tried several times in case of any file corruption, but had the same issue every time.

Does anybody have any suggestions that we should try when this problem occurs?

guest wrote:
Can anyone point me in the right direction to solve my problem?

When I try to transfer a file I get the following error:

Permission denied
Error Code: 3
Error message from server: Permission denied
Request Code: 3
Win SCP access problem.jpg (320.1 KB) [Download]

Description: (none)

prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 21295
Location: Prague, Czech republic
dceddy wrote:
I'm having a similar problem to the prior report as shown on this attachment with no Request Code shown on the error message. I try to upload one file with no problem, but have this problem only on a new file as shown. both of these files are the same for permissions settings. I tried several times in case of any file corruption, but had the same issue every time.

So do both files exist in the remote directory, with the same permissions? Or does the first file exist only and the second one (the one your get the error with) is new?
Guest




Both files do exist in the same root directory with the same permissions. One is old and one is new. But, I try to upload both to the same directory. The old one does upload to the server and overwrites the old existing file on the server, and the new one will not and has the error message. It is possible that the administrator of the webserver has recently changed something, and I will follow up on that, but I would like to have some idea of what could cause that.
Guest




We're having a similar problem. We can rename, delete and create. But when we overwrite, it seems to upload OK but we get error 3 saying upload "was successful, but error occurred while setting the permissions and/or timestamp"

The suggestion is to "turn off setting permissions or preserving timestamp" or we can "ignore permission errors"

Not sure what the best option is and the impact of each.

Permissions are fine, and the problem still occurs if we CHMOD 777. We can overwrite file just fine using the same user in FlashFXP.

audit.log and secure log are all green, no problems.

Running WinSCP Version 5.5.4. (Build 4433)
Server : Centos release 6.5 (Final)
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 21295
Location: Prague, Czech republic
Anonymous wrote:
We're having a similar problem. We can rename, delete and create. But when we overwrite, it seems to upload OK but we get error 3 saying upload "was successful, but error occurred while setting the permissions and/or timestamp"

The suggestion is to "turn off setting permissions or preserving timestamp" or we can "ignore permission errors"

Not sure what the best option is and the impact of each.

Permissions are fine, and the problem still occurs if we CHMOD 777. We can overwrite file just fine using the same user in FlashFXP.

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.
_________________
Martin Prikryl
marty

Guest


I could successfully transfer to HTML Document Root (/var/www/html owned by www-data) but
not to /usr/local/bin owned by root. Error code 3.

I was in www-data's group, but not in root. Added myself to root's group with 775 permission.

(DUH. What took me so long? Maybe we're ALL too busy lol.)
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License