In order to mount ntfs volume with ntfs-3g or ntfs-fuse, we need good default options. This patch is an attempt to set default options for ntfs-3g & ntfs-fuse to make them usable.
Default option use (change in gnome-mount.schemas.in) :
ntfs-3g : locale=
ntfs-fuse : locale=,uid=,umask=077
Explanations :
locale= : is the option to set locale, it replace the utf8 option.
uid=,umask=077 : this is the default options use for vfat.
for ntfs-3g, default setting don't use uid & umask permission handling. To have the same behavior as for vfat, we can also use the following options : locale=,default_permissions,uid=,umask=077
Setting locale (change in gnome-mount.c) :
To set the locale, we use the setlocale( LC_ALL, "" ) function.
This is done in gnome-mount.c with the same kind of workaround use to set uid=.
Warning :
Before using those settings, "locale=" and "default_permissions" need to be set as valid option for ntfs in hal, which is currently not the case.
See related bug : https://bugs.launchpad.net/ubuntu/+source/hal/+bug/78370
Binary package hint: gnome-mount
In order to mount ntfs volume with ntfs-3g or ntfs-fuse, we need good default options. This patch is an attempt to set default options for ntfs-3g & ntfs-fuse to make them usable.
Default option use (change in gnome-mount. schemas. in) : ,uid=,umask= 077
ntfs-3g : locale=
ntfs-fuse : locale=
Explanations : ,default_ permissions, uid=,umask= 077
locale= : is the option to set locale, it replace the utf8 option.
uid=,umask=077 : this is the default options use for vfat.
for ntfs-3g, default setting don't use uid & umask permission handling. To have the same behavior as for vfat, we can also use the following options : locale=
Setting locale (change in gnome-mount.c) :
To set the locale, we use the setlocale( LC_ALL, "" ) function.
This is done in gnome-mount.c with the same kind of workaround use to set uid=.
Warning : permissions" need to be set as valid option for ntfs in hal, which is currently not the case. /bugs.launchpad .net/ubuntu/ +source/ hal/+bug/ 78370
Before using those settings, "locale=" and "default_
See related bug : https:/
Thanks.