Public bug reported: Binary package hint: udisks
Misconfigured options and permissions mapping for fat filesystems can cause quite diverse problems: Bug #118283, Bug #592748, ... To privide a better configuration, some mount options should be derived from the current umask, rather than be hardcoded options. Generally, a filesystem can get mounted privately for a single user/group or shared. As a default, it should be a sane to mount privately. I.e. this means with permission corresponding to the current user's umask. (When detecting the umask note that umask might be set differently for root, and thus for the running script than for the current console user) Additionally, udisks could provide options to mount with specific permissions. (i.e. --user-only, --user-and-group-only, --public, or --userdefined permissions) For best VFAT integration not only on multi user systems here are tested mount options: On systems that use umask 002 add: ",quiet,shortname=mixed,dmask=0002,fmask=0113" to the vfat mount options. On systems with umask 022 add: ",quiet,shortname=mixed,dmask=0022,fmask=0133" to the vfat mount options. Non-english systems benefit using multilingual codebase with ",codepage=850" in the vfat mount options. If the system uses UTF8 also add ",iocharset=utf8" to the vfat mount options. ** Affects: udisks (Ubuntu) Importance: Undecided Status: New ** Description changed: Binary package hint: udisks Misconfigured options and permissions mapping for fat filesystems can cause quite diverse problems: Bug #118283, Bug #592748, ... To privide a better configuration, some mount options should be derived from the current umask, rather than be hardcoded options. - Generally, a filesystem can get mounted privately for a single user/group or + Generally, a filesystem can get mounted privately for a single user/group or shared. - As a default, it should be a sane to mount privately. I.e. this means with permission corresponding to the current user's - umask. (When detecting the umask note that umask might be set differently for + As a default, it should be a sane to mount privately. I.e. this means with permission corresponding to the current user's + umask. (When detecting the umask note that umask might be set differently for root, and thus for the running script than for the current console user) + Additionally, udisks could provide options to mount with specific + permissions. (i.e. --user-only, --user-and-group-only, --public, or + --userdefined permissions) - Additionally, udisks could provide options to mount with specific permissions. (i.e. --user-only, --user-and-group-only, or --userdefined permissions) - - - For best VFAT integration not only on multi user systems here are tested mount + For best VFAT integration not only on multi user systems here are tested mount options: On systems that use umask 002 add: ",quiet,shortname=mixed,dmask=0002,fmask=0113" to the vfat mount options. On systems with umask 022 add: ",quiet,shortname=mixed,dmask=0022,fmask=0133" to the vfat mount options. - Non-english systems benefit using multilingual codebase with ",codepage=850" in the vfat mount options. - If the system uses UTF8 also add ",iocharset=utf8" to the vfat mount options. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/762738 Title: sane defaults for [u,d,f]mask with vfat -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs