LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem reading mounted NTFS partition... (https://www.linuxquestions.org/questions/linux-newbie-8/problem-reading-mounted-ntfs-partition-354684/)

Virak 08-18-2005 04:11 PM

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?

Ynot Irucrem 08-18-2005 04:15 PM

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

dinolinux 08-18-2005 04:16 PM

Actually I did that once. I used sudo to give a normal user permission to mount. Try reading the sudo man page.

Virak 08-18-2005 04:18 PM

/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


Virak 08-18-2005 04:20 PM

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.

Ynot Irucrem 08-18-2005 04:22 PM

what permissions have you got on /dev/hda1 and /mnt/win? maybe try chmodding to 777 just to see if thats it.

Virak 08-18-2005 04:26 PM

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.

Ynot Irucrem 08-18-2005 04:35 PM

what about just doing a mount -t ntfs /dev/hda1 /mnt/win i.e. not relying on the fstab entry?

Virak 08-18-2005 04:38 PM

That doesn't work either... :/


All times are GMT -5. The time now is 02:00 PM.