Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-29-2012, 04:06 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 4
Rep:
|
mount ntfs with fstab dmask=027,fmask=137 but no write access
My /etc/fstab looks like this:
Code:
UUID=XXXXXXXXXXXXXXXX /media/sda1 ntfs auto,gid=test,dmask=027,fmask=137 0 0
UUID=XXXXXXXXXXXXXXXX /media/sda5 ntfs auto,gid=test,dmask=027,fmask=137 0 0
UUID=XXXXXXXXXXXXXXXX /media/sda6 ntfs auto,gid=test,dmask=027,fmask=137 0 0
So far so good but when I do I get:
Code:
dr-xr-x--- 1 root test 4096 Jan 2 23:11 sda1
dr-xr-x--- 1 root test 8192 Apr 2 2011 sda5
dr-xr-x--- 1 root test 4096 Apr 2 2011 sda6
Why does root not receive write access?
Even when I change the dmask and fmask to
Code:
dmask=000,fmask=000
I get:
Code:
dr-xr-xr-x 1 root test 4096 Jan 2 23:11 sda1
But still no write acces. Am I missing something?
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
01-29-2012, 04:16 PM
|
#2
|
|
Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, LMDE
Posts: 844
Rep: 
|
Hi,
You need to install the ntfs-3g package from the repositories (it's the ntfs read/write driver), and in the file system type column, change "ntfs" for "ntfs-3g" (without the quotes). This way, you will tell fstab to use the ntfs-3g driver, instead of the kernel generic one.
Cheers.
|
|
|
2 members found this post helpful.
|
01-29-2012, 04:35 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2010
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by odiseo77
Hi,
You need to install the ntfs-3g package from the repositories (it's the ntfs read/write driver), and in the file system type column, change "ntfs" for "ntfs-3g" (without the quotes). This way, you will tell fstab to use the ntfs-3g driver, instead of the kernel generic one.
Cheers.
|
I did as you said, but now only one of the 3 partitions is mounted with write access.
edit: I just restarted and now all of them have write access.
Thank you
|
|
|
|
01-29-2012, 04:56 PM
|
#4
|
|
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing
Posts: 1,698
|
Mark this puppy solved. You do that in Forum tools at the top of the page.
This is a common problem and anyone smart enough to use a forum search will be happy to find a thread marked Solved.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:41 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|