[SOLVED] How do I mount ntfs partition for all users?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

[SOLVED] How do I mount ntfs partition for all users?

Postby phoenix1963 on Mon Apr 02, 2012 3:35 pm

OK, I can mount the old Windows filesystem using an entry in fstab:
Code: Select all
/dev/sdb1 /media/Windows ntfs defaults,umask=007,gid=46 0 0
but how do I make it read & writeable to all users?

Something like "nogid"?

phoenix1963
Last edited by phoenix1963 on Tue Apr 03, 2012 4:29 am, edited 1 time in total.
phoenix1963
Level 1
Level 1
 
Posts: 38
Joined: Tue Mar 27, 2012 3:47 pm

Linux Mint is funded by ads and donations.
 

Re: How do I mount ntfs partition for all users?

Postby altair4 on Mon Apr 02, 2012 4:05 pm

/dev/sdb1 /media/Windows ntfs defaults,umask=007,gid=46 0 0

If you are using Linux Mint it is r/w to all local login users because by default all users are members of the plugdev ( gid=46 ) group.

If you are using LMDE Mint then you will need to add the users to the group:
Code: Select all
sudo gpasswd -a altair plugdev

Then those users will have to logout and in again for the group membership to take affect.

If by "all users" you mean "eveyone" ( as in include "others" - universal access ) then change the line to this:
Code: Select all
/dev/sdb1 /media/Windows ntfs defaults,umask=000 0 0
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4657
Joined: Tue Feb 03, 2009 10:27 am

Re: How do I mount ntfs partition for all users?

Postby phoenix1963 on Tue Apr 03, 2012 4:28 am

Thanks, though all my other users don't seem to be part of plugdev, despite being vanilla Mint.

phoenix1963
phoenix1963
Level 1
Level 1
 
Posts: 38
Joined: Tue Mar 27, 2012 3:47 pm

Re: How do I mount ntfs partition for all users?

Postby altair4 on Tue Apr 03, 2012 7:14 am

phoenix1963 wrote:Thanks, though all my other users don't seem to be part of plugdev, despite being vanilla Mint.

It could be because this statement is not quite correct:
altair4 wrote:If you are using Linux Mint it is r/w to all local login users because by default all users are members of the plugdev ( gid=46 ) group.

Previous to Mint12 all new users added through the Menu became members of plugdev by default. Because of it's use of Gnome3, the Mint12 "User Accounts" utility does not.

Mint1 through Mint11 ( Gnome2 ) creates a new user with membership to these groups:
uid=1001(tester1) gid=1001(tester1) groups=1001(tester1),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),30(dip),44(video),46(plugdev),104(fuse)

Mint12 ( Gnome3 ) creates a new user with membership to these groups:
uid=1001(tester1) gid=1001(tester1) groups=1001(tester1)


Depending on your point of view and prejudices you could either take the purist's stance and say it's now how Debian would do it. Or you could argue that it creates a user that by default can't do much.

Either way, what I posted was incorrect and I apologize.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4657
Joined: Tue Feb 03, 2009 10:27 am


Return to Other topics

Who is online

Users browsing this forum: dhnyawad and 5 guests