TorcelloPi
Posts: 8
Joined: Mon Sep 09, 2013 3:45 pm

Permission denied

Thu Oct 31, 2013 7:39 pm

I am attempting to follow privateeyepi's tutorial on how to set up a home webcam.
The first instruction is mkdir /home/webcam. Pi's response = mkdir: cannot create
directory '/home/webcam': Permission denied

Well! That was a let-down :(

confuseling
Posts: 144
Joined: Mon Aug 26, 2013 1:41 pm

Re: Permission denied

Thu Oct 31, 2013 7:45 pm

Would probably help if you provide a link to the tutorial, but

Code: Select all

sudo mkdir /home/webcam
will work on Raspbian.

Edit - it's also useful to state what operating system and version you're using when asking for help.
http://forums.debian.net

TorcelloPi
Posts: 8
Joined: Mon Sep 09, 2013 3:45 pm

Re: Permission denied

Thu Oct 31, 2013 8:19 pm

Yes, I think the tutorial presupposes more than 5 minutes acquaintance
with Pi Language - sudo is exactly the word I need - thanks!

Link (belatedly)
http://www.projects.privateeyepi.com/ho ... ce-monitor

User avatar
DavidXN
Posts: 54
Joined: Sat Sep 14, 2013 7:14 pm

Re: Permission denied

Fri Nov 01, 2013 1:25 pm

Just to let you know, the term you're looking for for the command line language is "Bash shell", if you ever feel the need to look up a tutorial on it - most Unix-based systems use similar command sets to it.

What "sudo" does specifically is to run the next command on the line with superuser permissions - the "pi" user doesn't have permission to modify or make files in the root directory by default, but by adding "sudo" ('superuser do'), you tell Bash to allow this action temporarily.

Gadjetnut
Posts: 18
Joined: Fri Apr 05, 2013 9:13 pm

Re: Permission denied

Fri Nov 01, 2013 8:15 pm

You can email support@privateeyepi.com for support or join the discussion blog http://projects.privateeyepi.com/home/blog

Return to “Troubleshooting”