~ubuntu-branches/ubuntu/maverick/fuse/maverick-proposed

« back to all changes in this revision

Viewing changes to debian/fuse-utils.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-09-25 17:47:10 UTC
  • Revision ID: james.westby@ubuntu.com-20080925174710-s293v3od5037huv4
Tags: 2.7.3-4ubuntu2
* debian/fuse-utils.postinst: Install /bin/fusermount as world executable.
  it already bails out correctly if the user does not have access to
  /dev/fuse; no reason to control access to it in two different places (and
  the permissions of the binary can't be changed in a flexible way).
* Add debian/10-fuse-permissions.fdi: Enable hal's dynamic ACL management
  for /dev/fuse, so that local foreground consoles will have access to it.
  Install it in debian/fuse-utils.install.
* Drop debian/fuse-utils-needs-users-added-to-fuse-group.update-notifier and
  its installation in the postinst, it's not really relevant any more.
* See intrepid-device-permissions spec for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  getent group fuse >/dev/null || addgroup --system fuse
12
12
 
13
13
  if ! dpkg-statoverride --list /bin/fusermount >/dev/null; then
14
 
    chown root:fuse /bin/fusermount
15
 
    chmod 4754 /bin/fusermount
 
14
    chown root:root /bin/fusermount
 
15
    chmod 4755 /bin/fusermount
16
16
 
17
17
  fi
18
18
  chown root:fuse /etc/fuse.conf
31
31
  if type update-initramfs >/dev/null 2>&1; then
32
32
    update-initramfs -u
33
33
  fi
34
 
 
35
 
  unud=/var/lib/update-notifier/user.d
36
 
 
37
 
  if [ -d $unud ]; then
38
 
      cp -f /usr/share/fuse-utils/fuse-utils-needs-users-added-to-fuse-group.update-notifier "$unud/fuse-utils-needs-users-added-to-fuse-group"
39
 
  fi
40
34
  ;;
41
35
 
42
36
  abort-upgrade|abort-remove|abort-deconfigure)