scp permission denied

When transferring files from a server (local) to server (remote), you may encounter permission problem. Recently I had the permission issue with scp . I had the write permission yet i kept getting the issue!

Goal: update files from the local to remote server

  • check to see if I can ssh to remote
  • check to see if you can scp from the remote to local
  • check to see if you are overwriting a file of different owner/group

My issue was not scp or the permission of the remote directory.

My issue was that initial files loaded to the directory belong to someone else while the directory belong to me. i was trying to overwriting the files created by someone else.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply