LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   "Permission Denied" while accessing ntfs partition in user mode (https://www.linuxquestions.org/questions/linux-general-1/permission-denied-while-accessing-ntfs-partition-in-user-mode-428372/)

funkymunky 03-25-2006 09:59 AM

"Permission Denied" while accessing ntfs partition in user mode
 
hi everyone,

Im using fedora core 5 on my x86_64 based laptop, dual booted with WindowsXP. I have one NTFS partition and one FAT32 partition on the windows side.

i am using the "kernel-module-ntfs-2.6.15-1.2054_FC5-2.1.26-0.rr.10.5.x86_64"
. Now the problem im facing is that i get a "Permission Denied" error when i try to access that NTFS partition in user mode after ive mounted it, whereas im able to access it normally in superuser mode. I see a lock around that mount point`s icon when im logged in user mode, but not when im logged in as root. Heres what happens when i check the NTFS mount`s privileges and try to change them:
Code:

dr-x------ 1 root root 8192 Mar 21 11:33 C_ntfs
drwxr-xr-x 6 root root 8192 Dec 31  1969 D_vfat
chmod: changing permissions of `C_ntfs/': Read-only file system

so as u can see, im unable to change the permissions of that partition too..


also, heres my /etc/fstab/ file:
Code:

LABEL=/1                /                      ext3    defaults        1 1
LABEL=/boot1            /boot                  ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                  /dev/shm                tmpfs  defaults        0 0
proc                    /proc                  proc    defaults        0 0
sysfs                  /sys                    sysfs  defaults        0 0
LABEL=SWAP-hda7        swap                    swap    defaults        0 0
/dev/hda1                /mnt/C_ntfs                ntfs        rw,auto,users,exec,async,dev        0 0
/dev/hda5                /mnt/D_vfat                vfat        rw,auto,users,exec,async,dev        0 0

whats going on? :scratch:
thanks in advance,
Mayank

Brian1 03-25-2006 02:33 PM

Add this option to your fstab file. umask=0000
Code:

/dev/hda1                /mnt/C_ntfs                ntfs        umask=0000,rw,auto,users,exec,async,dev        0 0

funkymunky 03-25-2006 03:33 PM

That worked, thank you very much.

coolarm 01-31-2009 08:03 PM

Thanks a lot Brian1
 
Quote:

Originally Posted by Brian1 (Post 2168560)
Add this option to your fstab file. umask=0000
Code:

/dev/hda1                /mnt/C_ntfs                ntfs        umask=0000,rw,auto,users,exec,async,dev        0 0

I looked through many websites and after hours of searching found the right solution over here. You made my day. Thanks Brian1


All times are GMT -5. The time now is 12:40 PM.