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

« back to all changes in this revision

Viewing changes to debian/10-fuse-permissions.fdi

  • 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:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<deviceinfo version="0.2">
 
4
  <device>
 
5
    <spawn udi="/org/freedesktop/Hal/devices/fuse"/>
 
6
  </device>
 
7
  <device>
 
8
    <match key="info.udi" string="/org/freedesktop/Hal/devices/fuse">
 
9
      <append key="info.capabilities" type="strlist">access_control</append>
 
10
      <merge key="access_control.file" type="string">/dev/fuse</merge>
 
11
      <merge key="access_control.type" type="string">camera</merge>
 
12
    </match>
 
13
  </device>
 
14
</deviceinfo>