PDA

View Full Version : Help Making a Directory



Krendall
10-01-2004, 07:17 PM
I was following a guide a put in a command to make a directory. However, this is what I got:

knoppix@ttyp0[knoppix]$ mkdir /mnt/captive-LABEL_C
mkdir: cannot create directory `/mnt/captive-LABEL_C': Permission denied
How can I get permissions to make a directory there?

.simgar
10-01-2004, 08:03 PM
Type this instead to give yourself Super User rights:

su mkdir /mnt/captive-LABEL_C

That should solve the problem.

Sgeo
10-02-2004, 12:28 AM
I thought sudo was used? (I'm a newbie though...)

Dave_Bechtel
10-02-2004, 01:37 AM
--You are correct, sudo should be used instead of su.


I thought sudo was used? (I'm a newbie though...)

firebyrd10
10-02-2004, 04:28 AM
--You are correct, sudo should be used instead of su.


I thought sudo was used? (I'm a newbie though...)
Right, use sudo for one command use su for multiple (you have to type su by itself first though)