LinuxQuestions.org
Help answer threads with 0 replies.
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, 07: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, 07:41 PM   #2
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
have you checked permissions? chmod...
 
Old 03-22-2004, 08: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, 08: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: 46
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, 08: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, 08:09 PM   #6
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
/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, 08: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, 08: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: 46
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 08:22 PM.
 
Old 03-22-2004, 08:23 PM   #9
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
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, 08: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: 46
Kovacs,

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

Rep: Reputation: 31
http://www.fluxmod.dk/download.php?view.48
 
Old 03-22-2004, 08: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: 46
Thank you very much :-)
 
Old 03-22-2004, 09: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, 10: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, 10: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


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


All times are GMT -5. The time now is 05:16 AM.

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