cp: cannot create directory Permission denied

linux

Solution

This is because you have no permission to write vinay's home folder.

You can do this either as a root user (if you're in sudoer list), or you can place the file at someplace public (e.g. /tmp) and told vinay to fetch it there.

This is an article about linux file permissions. Hope it helps.

Problem

I have a Folder named "Parser" with in my directory . I am trying to copy this folder (Parser) from my own directory to my collegues directory under /home/vinay But i am getting this Exception cp: cannot create directory `/home/vinay/Parser': Permission denied These are the commands i executed . ``` -bash-3.00$ cp -r Parser /home/vinay/ cp: cannot create directory `/home/vinay/Parser': Permission denied ```

Original source