Page 1 of 1

What are default fstab mount settings for Windows partition?

Posted: 1. Feb 2012, 11:31
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.

Re: What are default fstab mount settings for Windows partit

Posted: 1. Feb 2012, 11:41
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.

Re: What are default fstab mount settings for Windows partit

Posted: 1. Feb 2012, 19:56
by pwatk
I use the following:

Code: Select all

/dev/sda3        /mnt/Windows     ntfs-3g     defaults,uid=pwatk,gid=root 0   0

Re: What are default fstab mount settings for Windows partit

Posted: 1. Feb 2012, 20:12
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 :)

Re: What are default fstab mount settings for Windows partit

Posted: 1. Feb 2012, 23:28
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

Re: What are default fstab mount settings for Windows partit

Posted: 1. Feb 2012, 23:54
by Shador
I've been always just using this without problems:

Code: Select all

/dev/sda5        /media/data      ntfs-3g     defaults         0   2

Re: What are default fstab mount settings for Windows partit

Posted: 2. Feb 2012, 00:04
by mimosa
Thanks!

Hm, wonder how that happened, then?