[Bug 762738] Re: sane defaults with [u,d,f]mask for [v]fat

Alkis Georgopoulos 762738 at bugs.launchpad.net
Sat Jan 17 12:03:28 UTC 2015


*** This bug is a duplicate of bug 453605 ***
    https://bugs.launchpad.net/bugs/453605

** This bug has been marked a duplicate of bug 453605
   Make default mount umasks configurable

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udisks in Ubuntu.
https://bugs.launchpad.net/bugs/762738

Title:
  sane defaults with [u,d,f]mask for [v]fat

Status in udisks package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/762738/+subscriptions



More information about the foundations-bugs mailing list