LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot create folders in "File System" (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-create-folders-in-file-system-394043/)

littlegti84 12-17-2005 09:55 PM

Cannot create folders in "File System"
 
I was recently trying to ndiswrapper-1.7. The instructions I found for installing this aside from other things, had me using the following commands:

cd /usr/src
tar xvzf ~ndiswrapper-1.7.tar.gz

The result was a bunch of messages saying that the directory did not exist. It appeared to be trying to inzip this file into ndiswrapper-1.7/debian/. I assumed then that it was trying to create these folders in the usr/src/ directory and could not. So I thought I would try to help it out and create them manually. No can do. Under preferences, permissions, it says I do not have ownership. Is this normal?

P.S. Please bear with me if I speak a lot of Windoweze, I am very new to linux.

Thanks for any insight

tuxrules 12-17-2005 10:09 PM

Yup that is absolutely normal because Linux uses user-level, group-level and world-level permissions. /usr/src is owned by root by default. Almost nothing outside of /home/username is owned by username to start with. You can however individually go about changing permissions. The knowledge of which would be essential for you while working with Linux. Check out http://www.comptechdoc.org/os/linux/..._ugfilesp.html

You can use www.google.com/linux for file permissions.

For you problem...login as root and try to create the folder.

Code:

su -
Code:

mv /path/to/your-file.tar.gz /usr/src
Code:

cd /usr/src
Code:

tar -zxvf your-file.tar.gz
Hopefully that will answer your question.


All times are GMT -5. The time now is 09:40 AM.