[Bug 697792] Re: permissions of /etc/fuse.conf are reset on upgrade

Goswin von Brederlow goswin-v-b at web.de
Thu Oct 27 11:54:31 UTC 2011


FYI the fix is wrong. It destroys the idempotency of postinst. If the
postinst is interrupted after the addgroup call then a repeated
invokation of the postinst script will not change the mode or ownership
of /etc/fuse.conf.

This also applies when fuse-utils was installed in the past, then was
purged and is now installed again. In that case the group already exists
but the conffile does not.


Instead of testing for the existance of the fuse group the postint script should check wether it is a first install ($2 is empty) or an upgrade ($2 is old v ersion).

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

Title:
  permissions of /etc/fuse.conf are reset on upgrade

Status in “fuse” package in Ubuntu:
  Fix Released
Status in “fuse” source package in Lucid:
  Fix Released
Status in “fuse” source package in Maverick:
  Fix Released
Status in “fuse” source package in Natty:
  Fix Released

Bug description:
  Binary package hint: fuse-utils

  The fuse-utils postinst unconditionally resets the permissions of
  /etc/fuse.conf to 0640 root:fuse. It should respect local
  modifications to the conf file.

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




More information about the foundations-bugs mailing list