leniviy Newbie

Joined: 02 Mar 2010 Posts: 2
|
Posted: Thu Mar 04, 2010 11:01 am Post subject: owner of autocreated mount point in /media |
|
|
Hi. When Gnome automounts a USB disk it creates a mount point for it in /media .
For vfat/ntfs it passes options uid=me,gid=me to the "mount" program.
Before mounting it creates a mount point with Owner/Group = root/root . Because of that I can't use the advanced ntfs-3g ownership and permissions.
How to tell Gnome to create the mount point with the same Owner/Group that are passed as options to "mount" (uid=me,gid=me)? Before Gnome 2.28 some default settings were stored in gconf at "/system/storage" , but in current versions there's no such key.
http://www.tuxera.com/community/ntfs-3g-advanced/ownership-and-permissions/
| Quote: | | If no mapping file is found, an attempt to build a default single user mapping is made by mapping the owner and group of the mount point to the owner of the root of the mounted file system. This is only possible if the full path to the mount point is given, its owner is not root, and the owner of the file system is not an Administrator. This default mapping is most suited for pluggable file systems (such as USB keys) which have to be used on several Linux systems. The owner of the file system root has to be defined on Windows. |
This works with manual mount. |
|