2007-01-07 23:32:51 |
Florent Mertens |
description |
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) :
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
Thanks. |
Binary package hint: gnome-mount
In order to mount ntfs volume using ntfs-3g or ntfs-fuse with gnome-mount, 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
Thanks. |
|