LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-18-2005, 04:11 PM   #1
Virak
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Problem reading mounted NTFS partition...


After a bit of experimenting, I finally found a distro that I like (debian), and so far everything has been okay, except I added my windows partition to my fstab and nobody but root can read it. Any idea what I'm doing wrong?
 
Old 08-18-2005, 04:15 PM   #2
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
could you post your /etc/fstab and the output from dmesg?

EDIT: wait.. root can read it, okay scratch the output from dmesg, just the fstab please

Last edited by Ynot Irucrem; 08-18-2005 at 04:16 PM.
 
Old 08-18-2005, 04:16 PM   #3
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Actually I did that once. I used sudo to give a normal user permission to mount. Try reading the sudo man page.
 
Old 08-18-2005, 04:18 PM   #4
Virak
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
/etc/fstab:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda2       /               reiserfs notail          0       1
/dev/hda3       none            swap    sw              0       0
/dev/hda1	/mnt/win	ntfs	ro,user 	0	0
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/hdd        /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
 
Old 08-18-2005, 04:20 PM   #5
Virak
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by dinolinux
Actually I did that once. I used sudo to give a normal user permission to mount. Try reading the sudo man page.
I can mount it just fine, the problem is that only root can read it.
 
Old 08-18-2005, 04:22 PM   #6
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
what permissions have you got on /dev/hda1 and /mnt/win? maybe try chmodding to 777 just to see if thats it.
 
Old 08-18-2005, 04:26 PM   #7
Virak
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Ynot Irucrem
what permissions have you got on /dev/hda1 and /mnt/win? maybe try chmodding to 777 just to see if thats it.
Both are set to 666, and chmodding to 777 has no effect.
 
Old 08-18-2005, 04:35 PM   #8
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
what about just doing a mount -t ntfs /dev/hda1 /mnt/win i.e. not relying on the fstab entry?
 
Old 08-18-2005, 04:38 PM   #9
Virak
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
That doesn't work either... :/
 
  


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
Samba - sharing mounted NTFS partition SirAeryn Linux - Networking 2 09-11-2005 08:54 PM
NTFS partition cannot be mounted after converting from FAT32 aweir14150 Mandriva 5 01-27-2005 03:11 PM
reading a ntfs partition... a3Rogue Linux - Hardware 2 06-29-2004 09:31 AM
Reading NTFS (Windows) partition under Slackware NewtoSlack Slackware 9 01-05-2004 03:13 PM
permission of mounted NTFS partition demmylls Linux - Security 2 11-29-2003 11:08 PM


All times are GMT -5. The time now is 08:48 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