LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-22-2004, 06:32 PM   #1
spano
LQ Newbie
 
Registered: Mar 2004
Location: Salt Lake City
Distribution: Mandrake 9.2
Posts: 23

Rep: Reputation: 15
gaining access to my Windows C:/ drive


I was wondering if anyone knows how I can gain access to /mnt/win_c/ as a non-root user. When I try to browse to it I get the error message "Access denied to /mnt/win_c/". I logged in as root and thought that I gave permissions to all users to access this, however, when I log back in as a non-root user no dice. I am running Mandrake v. 9.2 Any help would be fantastic.
 
Old 03-22-2004, 06:41 PM   #2
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
have you checked permissions? chmod...
 
Old 03-22-2004, 07:01 PM   #3
spano
LQ Newbie
 
Registered: Mar 2004
Location: Salt Lake City
Distribution: Mandrake 9.2
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you for your help. However, I am new to linux and I cannot figure out how to get anything productive out of chmod... I am confused by the command syntax in the man pages. Specifically the: ... MODE[,MODE]... FILE... part of the comand.

any help?...
 
Old 03-22-2004, 07:06 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
In /etc/fstab make sure you have the users option included in the line for the windows partition

I don't have windows anymore so I can't give you the whole line.
 
Old 03-22-2004, 07:09 PM   #5
spano
LQ Newbie
 
Registered: Mar 2004
Location: Salt Lake City
Distribution: Mandrake 9.2
Posts: 23

Original Poster
Rep: Reputation: 15
darthtux, I'll give that a try. Thanks.
 
Old 03-22-2004, 07:09 PM   #6
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
/dev/hda1 /mnt/windows ntfs noauto,users,ro,umask=0222 0 0

That's my line for XP in my /etc/fstab, obviously you may need to change the partition name, file system and mount point as appropriate. The critical part for enabling access for all users is the 'users' part (not just 'user').

Also make sure that everyone has read and execute permissions for /mnt/win_c; as root:
chmod 755 /mnt/win_c
 
Old 03-22-2004, 07:16 PM   #7
spano
LQ Newbie
 
Registered: Mar 2004
Location: Salt Lake City
Distribution: Mandrake 9.2
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks Kovacs.

One last question if you don't mind. I have seen and a few people say "in my /ect/fstab" which leads one to believe that it is a folder and or file that you can open and read. Is this a correct assumption?
 
Old 03-22-2004, 07:21 PM   #8
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Linux is built around a tree like filesystem structure. All directories and files descend from the / or root directory. So /etc/fstab is the file fstab in the /etc directory.

If you have KDE you can open it up with
kate /etc/fstab &
from an xterminal (as root of course)

Last edited by darthtux; 03-22-2004 at 07:22 PM.
 
Old 03-22-2004, 07:23 PM   #9
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Yes it is a file called fstab in the /etc directory. You need to open it in a text editor (you have to be root to edit it) and add/ change the necessary lines.

You sound like you might need a good Linux tutorial so take a look at http://www.icon.co.za/~psheer/book/index.html - it's one of the best around.
 
Old 03-22-2004, 07:39 PM   #10
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Kovacs,

Where can I get the fluxbox theme in your screenshot?
 
Old 03-22-2004, 07:49 PM   #11
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
http://www.fluxmod.dk/download.php?view.48
 
Old 03-22-2004, 07:56 PM   #12
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Thank you very much :-)
 
Old 03-22-2004, 08:15 PM   #13
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
spano,
I think you should be careful with writing permissions on your windows partition. If it is not FAT32, then I believe you can cause some serious damage here. Remember that Windows 2000 and XP usually use ntfs, and not FAT32. I'm going to leave this to the experts, but I'm not aware of any stable support for Linux working on ntfs. Just be careful here, because you may do something to ruin your Windows installation. Granted, most people in this forum might agree that a Windows crash is nothing out of the ordinary. lol
 
Old 03-22-2004, 09:49 PM   #14
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
NTFS rw support is expeirmental in kernels 2.4.x, but new with kernels 2.6.x.
Noah
 
Old 03-22-2004, 09:50 PM   #15
spano
LQ Newbie
 
Registered: Mar 2004
Location: Salt Lake City
Distribution: Mandrake 9.2
Posts: 23

Original Poster
Rep: Reputation: 15
Kovacs and others, thank you very much for helping a poor newbie. May the Gods smile on you!
 
  


Reply



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
Gaining access to an inherited machine... please help elemental666 Linux - Security 8 10-21-2005 10:18 AM
Gaining access to Printerserver? gundestrup Linux - Hardware 8 08-07-2005 05:02 AM
Gaining access to Printerserver? gundestrup LinuxQuestions.org Member Intro 2 05-18-2004 11:54 AM
Gaining root access in KDE d-katz Linux - General 9 02-27-2004 05:46 AM
Gaining Write Access through Samba MaleMe Linux - Networking 2 06-28-2002 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 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
Open Source Consulting | Domain Registration