LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
 
Search this Thread
Old 03-25-2006, 09:59 AM   #1
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Rep: Reputation: 15
Angry "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?
thanks in advance,
Mayank
 
Old 03-25-2006, 02:33 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
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
 
Old 03-25-2006, 03:33 PM   #3
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Original Poster
Rep: Reputation: 15
That worked, thank you very much.
 
Old 01-31-2009, 08:03 PM   #4
coolarm
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Thanks a lot Brian1

Quote:
Originally Posted by Brian1 View Post
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
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
No longer able to log into ssh. Password right but "permission denied" Baix Linux - Software 11 11-21-2008 12:44 PM
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 02:05 PM
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 09:08 AM
Permission denied on " ls "for root user itsjvivek Linux - General 12 12-11-2002 07:02 PM


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