• Code::blocks error. SH: [FILE PATH HERE]: PERMISSION DENIED
    8 replies, posted
I did a simple "Hello world!" program to test out codeblocks, and every time i get SH: [FILE PATH HERE]: PERMISSION DENIED File path being where i store my project files. It's annoying the piss out of me. anyone else have this problem? is it codeblocks? is it ubuntu? Im using Koala, BTW
Who's the owner of that file...
ls -l
[QUOTE=ProboardslolV2;18690630] SH: [FILE PATH HERE]: PERMISSION DENIED File path being where i store my project files. [/QUOTE] What is the file path?
sh: /home/collin/MyProject/MyProject: Permission denied Press ENTER to continue.
ls -l
What?
It's a command that lists the files and sub-directories within the current directory. The -l suffix will also display the permissions of said files and sub-directories.
Okay, just run chown <username> <file> and it should work. If it's a directory, chown -R.
Sorry, you need to Log In to post a reply to this thread.