LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2005, 11:44 AM   #1
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Rep: Reputation: 15
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!
 
Old 01-24-2005, 11:51 AM   #2
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
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.

Last edited by kornerr; 01-24-2005 at 12:12 PM.
 
Old 01-24-2005, 11:57 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
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.
 
Old 01-24-2005, 03:28 PM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 33
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...

Last edited by Linux~Powered; 01-24-2005 at 03:29 PM.
 
Old 01-24-2005, 04:37 PM   #5
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Original Poster
Rep: Reputation: 15
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
 
Old 01-25-2005, 10:06 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
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.

Last edited by abisko00; 01-25-2005 at 01:00 PM.
 
Old 01-25-2005, 10:24 AM   #7
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
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
 
Old 01-25-2005, 01:59 PM   #8
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Original Poster
Rep: Reputation: 15
yeah thanks!

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

thanks guys for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Silly Querstion RE: Opening apps from console Boyer Linux - Software 2 06-15-2005 08:24 PM
SuSe 9.2 crash when opening the console kinkE Linux - Newbie 2 04-13-2005 10:51 AM
opening root in debian phoenix_wolf Linux - Newbie 6 01-06-2005 04:41 PM
Opening X progs as root. shaggz Linux - General 1 04-29-2004 12:00 AM
opening ports below 1024 without being root? meks Linux - Networking 2 12-25-2003 07:05 PM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration