How To Quickly Fix Permission Denied. Error Code: 3 In 2024

Fix faulty permission settings that stop you from transfering files

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Having problems with your current version of Opera One? Make sure your browser is up-to-date.Although many possible reasons lead to issues with your Opera One Browser, one of the fastest solutions is reinstalling your browser first (make sure you download the version from only verified sources).Here's what Opera One can do:
  • Optimize resource usage: Opera One uses your Ram more efficiently than other browsers
  • Enhanced privacy: integrated and unlimited VPN
  • No ads or tracking with its built-in features
  • Gaming pleasant: Opera GX is the first browser created specifically for gamers
  • ⇒ Get Opera One

In this article, we discuss how to fix Permission denied. Error code:3 Error message from server: permission denied when trying to transfer files.

The message is either a SFTP error 3 or a WinSCP network error that signals you don’t have the necessary rights to access or transfer a directory or file.

Here’s how to fix it:

How do I fix the denied permissions error?

1. Check account

Make sure you’re logged into a Windows account with admin rights. This error often means you cannot move files because you don’t have permission to.

2. Change file permission to read/write

2.1. Using a SSH Client

  1. Type in this code to give read permission:
    sudo chmod -R 755 /remote-dir/
    permission denied. error code: 3 error message from server: permission denied
  2. Type in this code to give write permission:
    sudo chmod -R 777 /remote-dir/
    permission denied. error code: 3 error message from server: permission denied
  3. Try the file copy or transfer again and see if you have the permission denied error message.

Changing the file permission to RXW for everyone could pose a security risk. Hence, if this is your adopted method, you should undo it once the transfer is completed.

2.2. Using Powershell/CMD

  1. Press Win + X and select “Command Prompt (Admin)” /”Windows PowerShell (Admin)”/”Terminal (Admin)”.terminal admin option windows 11
  2. Type the following command:
    icacls "C:\path\to\directory" /grant Everyone:(OI)(CI)F /T
  3. Press Enter.
Note icon NOTE
C:\path\to\directory represents the full path to a specific directory on your Windows system. Replace it with the actual path of the target directory when changing permissions. For example, C:\Users\Username\Documents\Project specifies the Project folder in the Documents directory

Changing the file permission to RXW for everyone could pose a security risk. Hence, if this is your adopted method, you should undo it once the transfer is completed.

3. Confirm the remote file path

This is a rookie mistake, but not one to be ignored. You may have just typed in the wrong resource path. In this case, your access will be denied.

All you need to do is confirm the correct path and re-input it. If you still do not have access, skip to the next solution.

With any of these three fixes, you should have been able to resolve the permission denied. error code: 3 error message from server: permission denied on your server.

You mainly have to pay attention to user rights, and you will be able to avoid this issue in the future.

More about the topics: Permission error

User forum

1 messages