LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-18-2008, 08:05 PM   #1
RAH104
Member
 
Registered: Jun 2008
Posts: 33

Rep: Reputation: 15
Question Mounting Problem


Hi,

I have mounted two NTFS partitions and set them to auto-mount on boot however for some reason I am getting permission denied errors when attempting to write to them. How do I go about resolving this?

Thanks.
 
Old 06-18-2008, 08:49 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Which distribution are you using?

Make sure you have the latest version of the "ntfs-3g" driver installed, and could you please provide the lines from your /etc/fstab that define the priorities?
 
Old 06-18-2008, 08:51 PM   #3
charlie0313
Member
 
Registered: Jan 2008
Location: Dunn Loring, VA
Distribution: Slackware 12.0, Ubuntu 8.04
Posts: 47

Rep: Reputation: 15
try using chown and chmod to change the owner to you and give the file/drive the right permisions. Thats where I would start at least.
 
Old 06-18-2008, 09:20 PM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Code:
# mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222
will give you write permission,of course you have to enter correct data for partition and mount point.
Code:
# mount /dev/hda1 /mnt/windows -t ntfs -r -o uid=username
will make that user owner of the files.
To learn more go here.
 
Old 06-19-2008, 09:37 AM   #5
RAH104
Member
 
Registered: Jun 2008
Posts: 33

Original Poster
Rep: Reputation: 15
/dev/sda1 /mnt/vista -t ntfs -r -o uid=root

This has given me the ability to write to the partition however now I can't list any files/folders in it. What should I be doing?
 
Old 06-19-2008, 11:52 AM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Change umask=0222 to umask=0666.
 
  


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
mounting problem muhammednavas Linux - Software 2 12-01-2006 08:52 AM
CD mounting problem pgpython Linux - Hardware 3 08-27-2006 10:53 AM
mounting problem angelusx Linux - Newbie 1 11-11-2004 05:52 AM
mounting problem scng Linux - Newbie 3 09-04-2004 10:36 AM
mounting problem ziggie216 Linux - Software 6 10-11-2003 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 PM.

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