LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting NTFS partitions question (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-ntfs-partitions-question-362549/)

danritter 09-12-2005 01:28 AM

Mounting NTFS partitions question
 
I just got Debian Sarge Official setup on my system and now I'm trying to get access to my windows partitions. I set them up in fstab with the user option. It seems to be mounted ok but I'm not allowed to access those partitions in user mode only root. I tried changing the mount directories so they were off of my home dir but that didn't help. Below is my fstab settings.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb7 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb1 none swap sw 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
/dev/hda1 /home/dan/win_c ntfs ro,user 0 0
/dev/hda5 /home/dan/win_d vfat rw,user 0 0
/dev/hdb5 /home/dan/win_e ntfs ro,user 0 0
/dev/hdb6 /home/dan/win_f ntfs ro,user 0 0

The other weird thing is I can't seem to write to the win_d drive even though I set the rw switch. Anyone know what's wrong?

Thanks :scratch:

aysiu 09-12-2005 01:37 AM

Re: Mounting NTFS partitions question
 
Quote:

Originally posted by danritter
/dev/hda1 /home/dan/win_c ntfs ro,user 0 0
Try this instead

Code:

/dev/hda1        /home/dan/win_c          ntfs    nls=utf8,umask=0222 0      0

Garda 09-12-2005 02:14 AM

just add umask=000. like this

Code:

/dev/hda5 /home/dan/win_d vfat rw,user,umask=000 0 0


All times are GMT -5. The time now is 09:54 PM.