Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to do a scp from a server where the user home directory has been given permission 744 recursively. On doing scp I am getting the following error "C0744 1733 database.cpp" .

The situation did not change for a permission of 777 too. With that I am getting a similar error like "C0777 1733 database.cpp". I used the command chmod -R ugo+rwx home-directory.

Is there something I am missing here. I deleted the .ssh folder in the home-directory but the problem persisted.

Some additional hints:

  1. To my surprise, a reverse scp i.e. scp from the server to local machine is working correctly.
  2. ssh-copy-id on the server is also not working.
share|improve this question

migrated from Mar 10 '12 at 9:25

This question came from our site for professional and enthusiast programmers.

Which user account you use for scp, owner? – rkosegi Mar 9 '12 at 7:54
yes i am using the owner account. – prathmesh.kallurkar Mar 9 '12 at 7:57

If I read this correctly, you're trying to copy the contents of a user's home directory.

For a directory with a mode of 744 the owner can do anything but no one else can access it because directories have to be executable to traverse of even list the contents.

You chmod ugo+rwx home-directory will won't help because you didn't tell it to be recursive. Use chmod -R ugo+rwx home-directory.

share|improve this answer
@above sorry I did not mention it but i had used recursive chmod. its edited now. One more thing : I am using the same user-id to copy the contents. So permission = 4/0/anything should not matter I guess. – prathmesh.kallurkar Mar 9 '12 at 15:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.