PDA

View Full Version : Creating a directory in 'home'



benedict1000
08-03-2004, 03:04 PM
I'm trying to install as mentioned in this post: http://www.knoppix.net/forum/viewtopic.php?p=52085

but I've got a problem. Step 4 says 'place file in home/speedtouch-conf/firmware ' but when I do this I recive an 'access denied' error.

I'm new to Linux so please excuse me if this is a really dumb question.

Thanks in advance,
Benedict

edgarS
08-03-2004, 03:55 PM
You have to be root to write to /home
So you should run "su" to be able to create the directory.

btw, if you type 'ls -la' you can see the access rights of each file and directory.

drwxr-xr-x 2 root root NAME
for example means (explained from left to right)

it's a directory (the d in the above line)
the owner has read, write and executable rights (rwx)
the group has read and executable rights (r-x)
the others have read and executable rights (r-x)
the owner is root
the group is root

You can use 'chmod' to change these settings.
E.g. chmod g+w NAME to allow the group to write
chown and chgrp may be used for changing the file's owner and group

Stephen
08-03-2004, 07:45 PM
I'm trying to install as mentioned in this post: http://www.knoppix.net/forum/viewtopic.php?p=52085

but I've got a problem. Step 4 says 'place file in home/speedtouch-conf/firmware ' but when I do this I recive an 'access denied' error.

I'm new to Linux so please excuse me if this is a really dumb question.

Thanks in advance,
Benedict

The problem with the line you post is it should be /home/your_user_name/speedtouch-conf/firmware. If the directory does not exist then use mkdir -p /home/your_user_name/speedtouch-conf/firmware then copy the file.