What are default fstab mount settings for Windows partition?

Other talk about Salix
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

What are default fstab mount settings for Windows partition?

Post by mimosa »

A user on the Italian forum has got umask=077. Is that what you would normally end up with, if you selected mounting the Windows partition during installation? Or has it been changed somehow? I'm suggesting to him a umask of 022.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: What are default fstab mount settings for Windows partit

Post by thenktor »

I don't know the default options, but if you want non root users to have write access you should use umask 022.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: What are default fstab mount settings for Windows partit

Post by pwatk »

I use the following:

Code: Select all

/dev/sda3        /mnt/Windows     ntfs-3g     defaults,uid=pwatk,gid=root 0   0
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: What are default fstab mount settings for Windows partit

Post by mimosa »

Zievatron has now got access to the partition with umask=022,users - and uploaded a rather fetching feline avatar from it to the forum. But I'm curious as to whether the setting umask=077 was an unintended alteration, or actually the result you're supposed to get if, during installation, you choose to have an entry created for the Windows partition in /etc/fstab - that is, is that what the installer is meant to do? Because with those permissions, only root has any access at all, so as far as I can see you might as well not bother.

Now there's Gmountman, too :)
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: What are default fstab mount settings for Windows partit

Post by laprjns »

mimosa wrote:But I'm curious as to whether the setting umask=077 was an unintended alteration, or actually the result you're supposed to get if, during installation, you choose to have an entry created for the Windows partition in /etc/fstab - that is, is that what the installer is meant to do?
Here is what I get when I tell the installer to add a fstab entry.

Code: Select all

/dev/sda1        /Vista           ntfs-3g     umask=022        1   0
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: What are default fstab mount settings for Windows partit

Post by Shador »

I've been always just using this without problems:

Code: Select all

/dev/sda5        /media/data      ntfs-3g     defaults         0   2
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: What are default fstab mount settings for Windows partit

Post by mimosa »

Thanks!

Hm, wonder how that happened, then?
Post Reply