LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   root, opening and console (https://www.linuxquestions.org/questions/linux-newbie-8/root-opening-and-console-281638/)

Niflheim 01-24-2005 10:44 AM

root, opening and console
 
yes, that's embarrassing.

i just would like to know how to, when you're in the console, enter a directory. let's say i open the console from the desktop but i want to go in my home/(user)/downloads directory. what do i write?

also, i had to open the inittab file in order to install graphic drivers (http://www.linuxsolved.com/forums/ftopic9.html). i typed something like file:/etc/inittab in konqueror and the file opened. the problem is i had to be logged in as root to modify it. i know the su - password thing, but i would i open this file as root?

just for example, ive got my drives mounted (one with all the games and program and the other with windows) but i cant save or delete files from the first one (win_c) because it says i dont have the permission. my brother told me i had to be root to do so. how would i go in that drive on root?

i know it may not be clear, but if you understand, answer me, pleeease.
thats easy stuff but i just dont know it.

thanks!

kornerr 01-24-2005 10:51 AM

NEWBIES!!!
THE RIGHT ANSWER: http://www.thelinuxbox420.com
ALL necessary info for newbies! And very easy to underst&, even 4 me :)
________
That's not my site.

abisko00 01-24-2005 10:57 AM

The command to change the directory is cd. In your example it would be:
Code:

$>cd /home/(user)/downloads
To move back one level, yu may use .. (two dots) instead of the full path.

If you know about the 'su - password thing', you already know how to gain root permissions. If you now open a file, it will be as root.

If you still cannot save or delete like in your example on win_c, it may be that this is a Windows drive that is NTFS formated. In this case you need special drivers to get write access.

Linux~Powered 01-24-2005 02:28 PM

Quote:

NEWBIES!!!
THE RIGHT ANSWER: http://www.thelinuxbox420.com
ALL necessary info for newbies! And very easy to underst&, even 4 me :)
Ha, thanks for the plug... glad you found it useful! Just added an X configure to it that I had stopped working on a while ago. I'll try to keep adding more to it when I have time...:cool:

Niflheim 01-24-2005 03:37 PM

oooh yeah, thanks now i got it!

but i still have one problem. i mounted my other drives (win_c where i have a lot of space and win_d where theres only winshit). the problem is that i cant write on win_c. it says i dont have the permission or whatever. but on win_d, thats ok. i logged in as root and try to change the properties of win_c, putting read and write and so in advanced. but when i clicked ok, a message told me that i couldnt change them. i thought that i was god while in root :(

so when i want to install games with cedega, i can only install them on win_c because i have only 3go on win_d, it says it cant write on the disk.

what should i do? what do i have to do in order to be able to write in my mounted disk?

thaaaanks

abisko00 01-25-2005 09:06 AM

So again: is win_c a NTFS or FAT formated drive? In case of NTFS you lost, since it is not possible to get write access with nativ Linux tools. The only way is to install captive or another commercial driver.

With FAT, you may need to add umask=000 to the options of the respective mountpoint in /etc/fstab.

kornerr 01-25-2005 09:24 AM

YOU CANNOT CREATE NEW FILES ON NTFS!!! NOR INCREASE/DECREASE THEIR SIZES. YOU CAN ONLY OVERWRITE EXISTING FILES. Try kernel recompiling, If you'll have a look at many available help during this process YOU'LL SEE WHAT I'M TALKING ABOUT!
______________
If my answer sounds stupid - rethink your question :)

Niflheim 01-25-2005 12:59 PM

yeah thanks!

i just noticed that win_c is an evil ntfs drive.
ill have to format it :(

thanks guys for your help


All times are GMT -5. The time now is 05:36 PM.