Your message dated Thu, 08 May 2008 12:02:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#427109: fixed in hal 0.5.11-1
has caused the Debian Bug report #427109,
regarding hal: refuses uid and gid option for ntfs and ntfs-3g
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
427109: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427109
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: hal
Version: 0.5.9-3
Severity: normal

I attach a usb disk formatted in ntfs and gnome can't mount it. I'm 
using ntfs-3g and I've added options to put a uid= and gid= parameter to 
the mount command with gconf. An error comes up with 

Cannot mount volume.
Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy.
hal-storage-removable-mount-all-options refused uid 1000

[uid 1000 is indeed the id of the user that's logged in]

I've added options to 
/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
to allow these for both ntfs and ntfs-3g

      <!-- allow these mount options for ntfs-3g -->
      <match key="volume.fstype" string="ntfs-3g">
        <match 
key="/org/freedesktop/Hal/devices/computer:system.kernel.name" 
string="Linux">
          <append key="volume.mount.valid_options" 
type="strlist">uid=</append>
          <append key="volume.mount.valid_options" 
type="strlist">gid=</append>
          <append key="volume.mount.valid_options" 
type="strlist">umask=</append>
          <append key="volume.mount.valid_options" 
type="strlist">locale=</append>
          <append key="volume.mount.valid_options" 
type="strlist">utf8</append>
        </match>
        <match 
key="/org/freedesktop/Hal/devices/computer:system.kernel.name" 
string="FreeBSD">
          <append key="volume.mount.valid_options" 
type="strlist">-u=</append>
          <append key="volume.mount.valid_options" 
type="strlist">-g=</append>
          <append key="volume.mount.valid_options" 
type="strlist">-m=</append>
          <append key="volume.mount.valid_options" 
type="strlist">-a</append>
          <append key="volume.mount.valid_options" 
type="strlist">-i</append>
          <append key="volume.mount.valid_options" 
type="strlist">-C=</append>
          <append key="volume.mount.valid_options" 
type="strlist">-W=</append>
        </match>
      </match>

The strange thing is that when I check with lshal I get the following:

udi = '/org/freedesktop/Hal/devices/volume_uuid_2504992676347A09'
  block.device = '/dev/sde1'  (string)
  block.is_volume = true  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 65  (0x41)  (int)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_ST916082_1A'  (string)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = 
'/org/freedesktop/Hal/devices/storage_serial_ST916082_1A'  (string)
  info.product = 'Volume (ntfs)'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_2504992676347A09'  
(string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sde/sde1'  (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point 
fstype extra_options', 'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = 
{'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} 
(string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 
'Eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 
'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 
'as'} (string list)
  storage.model = ''  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.fstype = 'ntfs'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = '3.1'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = ''  (string)
  volume.linux.is_device_mapper = false  (bool)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'uid=', 'gid=', 
'umask=', 'locale=', 'utf8'} (string list)
  volume.mount_point = ''  (string)
  volume.num_blocks = 312576642  (0x12a18a82)  (int)
volume.partition.flags = {} (string list)
  volume.partition.label = ''  (string)
  volume.partition.media_size = 160041885696  (0x25433d6000)  (uint64)
  volume.partition.number = 1  (0x1)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 32256  (0x7e00)  (uint64)
  volume.partition.type = '0x07'  (string)
  volume.partition.uuid = ''  (string)
  volume.size = 160039240704  (0x2543150400)  (uint64)
  volume.unmount.valid_options = {'lazy'} (string list)
  volume.uuid = '2504992676347A09'  (string)

which seems to indicate that uid= is a valid mount option.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  dbus                          1.0.2-5    simple interprocess messaging syst
ii  hal-info                      20070516-1 Hardware Abstraction Layer - fdi f
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries
ii  libdbus-1-3                   1.0.2-5    simple interprocess messaging syst
ii  libdbus-glib-1-2              0.73-2     simple interprocess messaging syst
ii  libexpat1                     1.95.8-3.4 XML parsing C library - runtime li
ii  libglib2.0-0                  2.12.12-1  The GLib library of C routines
ii  libhal-storage1               0.5.9-3    Hardware Abstraction Layer - share
ii  libhal1                       0.5.9-3    Hardware Abstraction Layer - share
ii  libusb-0.1-4                  2:0.1.12-7 userspace USB programming library
ii  libvolume-id0                 0.105-4    libvolume_id shared library
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
ii  pciutils                      1:2.2.4-1  Linux PCI Utilities
ii  udev                          0.105-4    /dev/ and hotplug management daemo
ii  usbutils                      0.72-8     Linux USB utilities

Versions of packages hal recommends:
ii  eject                         2.1.5-2    ejects CDs and operates CD-Changer

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: hal
Source-Version: 0.5.11-1

We believe that the bug you reported is fixed in the latest version of
hal, which is due to be installed in the Debian FTP archive:

hal-doc_0.5.11-1_all.deb
  to pool/main/h/hal/hal-doc_0.5.11-1_all.deb
hal_0.5.11-1.diff.gz
  to pool/main/h/hal/hal_0.5.11-1.diff.gz
hal_0.5.11-1.dsc
  to pool/main/h/hal/hal_0.5.11-1.dsc
hal_0.5.11-1_i386.deb
  to pool/main/h/hal/hal_0.5.11-1_i386.deb
hal_0.5.11.orig.tar.gz
  to pool/main/h/hal/hal_0.5.11.orig.tar.gz
libhal-dev_0.5.11-1_i386.deb
  to pool/main/h/hal/libhal-dev_0.5.11-1_i386.deb
libhal-storage-dev_0.5.11-1_i386.deb
  to pool/main/h/hal/libhal-storage-dev_0.5.11-1_i386.deb
libhal-storage1_0.5.11-1_i386.deb
  to pool/main/h/hal/libhal-storage1_0.5.11-1_i386.deb
libhal1_0.5.11-1_i386.deb
  to pool/main/h/hal/libhal1_0.5.11-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[EMAIL PROTECTED]> (supplier of updated hal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 08 May 2008 13:36:20 +0200
Source: hal
Binary: hal hal-doc libhal1 libhal-storage1 libhal-dev libhal-storage-dev
Architecture: source all i386
Version: 0.5.11-1
Distribution: unstable
Urgency: low
Maintainer: Utopia Maintenance Team 
<[email protected]>
Changed-By: Michael Biebl <[EMAIL PROTECTED]>
Description: 
 hal        - Hardware Abstraction Layer
 hal-doc    - Hardware Abstraction Layer - documentation
 libhal-dev - Hardware Abstraction Layer - development files
 libhal-storage-dev - Hardware Abstraction Layer - development files
 libhal-storage1 - Hardware Abstraction Layer - shared library for storage 
devices
 libhal1    - Hardware Abstraction Layer - shared library
Closes: 418176 427109 473592
Changes: 
 hal (0.5.11-1) unstable; urgency=low
 .
   * New upstream release.
     - Fixes spec regarding ALSA PCM class. (Closes: #473592)
   * debian/shlibs.local
     - This file has been obsoleted by the symbols files and is outdated so
       better remove it.
   * debian/patches/01_hal_debian_dbuspolicy.patch
     - Updated.
   * debian/patches/10_ntfs_uid_mount.patch
     - Allow uid/gid mount option for ntfs. (Closes: #418176, #427109)
Checksums-Sha1: 
 92f8997b8274278ff0869ce567b064ac32b6f1ec 1596 hal_0.5.11-1.dsc
 f51366229e5dd6d5d72d60114fdef76bf5feba26 1672992 hal_0.5.11.orig.tar.gz
 0954e296328c8831c528b4a73d8a2866ecfd2977 32323 hal_0.5.11-1.diff.gz
 c37fdeadd8382767202c842484d9f28aeca1a9bc 669950 hal-doc_0.5.11-1_all.deb
 6bc3f5360959b922ab141da1a8495f7810994d0e 763244 hal_0.5.11-1_i386.deb
 14f22cd58a7fc5c1f211eadf7d93d32de0720898 442928 libhal1_0.5.11-1_i386.deb
 15325f71402faccad7a4c60621c9205d857c23d1 435000 
libhal-storage1_0.5.11-1_i386.deb
 1985485523918e2704e1a1281cc643144df30891 448292 libhal-dev_0.5.11-1_i386.deb
 622c643e6f763b07ee167ddfb6c1b085e0f1dd76 435296 
libhal-storage-dev_0.5.11-1_i386.deb
Checksums-Sha256: 
 59ece42694104d0ae2adc3008a88deae566655c47c6ce247682c5e29eaae9492 1596 
hal_0.5.11-1.dsc
 730a9f2340f789677eb0c3b0984bbaca3ede6c12d1e4b16bc7ea91f51d10ba90 1672992 
hal_0.5.11.orig.tar.gz
 04f4d2890bc687d4e094068fe61bd936054dfb6b44aab448664dcc3cc8f232e3 32323 
hal_0.5.11-1.diff.gz
 bd0afecd09430bf6428f80c1fb3ce1daccc4fa2e2145295d9820bdf240c2e241 669950 
hal-doc_0.5.11-1_all.deb
 48998afe01360e2a3730cea245277554255ce0d03a0d88e4cb68d35f099eb3b8 763244 
hal_0.5.11-1_i386.deb
 3cc8e9be232820aca7a5e97486dd94f6595088ba3a9ee86899d83f2a89b0d511 442928 
libhal1_0.5.11-1_i386.deb
 e719e3b0911674b7a799f4642b2ae64efca7c030dfe048ac0460b4094500c8f4 435000 
libhal-storage1_0.5.11-1_i386.deb
 7ef1a0f963446bbe109a8ee944f688f638d592a27901fdff141629cdc8ea82f4 448292 
libhal-dev_0.5.11-1_i386.deb
 3abae81db454fd5f28de122b36ac7402c166513dfa87afe5771641d73f0945b8 435296 
libhal-storage-dev_0.5.11-1_i386.deb
Files: 
 db298a2d16a7254770cf1a2494e6318f 1596 admin optional hal_0.5.11-1.dsc
 750cf074e88b6fb7012f26d99cd39b9b 1672992 admin optional hal_0.5.11.orig.tar.gz
 d1f7a72c5bb6c7e8aa11fc2ea36ce436 32323 admin optional hal_0.5.11-1.diff.gz
 41ba3a8214a98e5e88d4dd9129332068 669950 doc optional hal-doc_0.5.11-1_all.deb
 5805ac6713ad1e896f14635b8e230c05 763244 admin optional hal_0.5.11-1_i386.deb
 9a25727e757ab7da570b4af2eebc8032 442928 libs optional libhal1_0.5.11-1_i386.deb
 e9caa553c3fe9550a2f8e83ca1e537d4 435000 libs optional 
libhal-storage1_0.5.11-1_i386.deb
 78bb36eee43b07bd2587a79e86bc743a 448292 libdevel optional 
libhal-dev_0.5.11-1_i386.deb
 acffc6f7cebb600774d0f80271e838ce 435296 libdevel optional 
libhal-storage-dev_0.5.11-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIub9h7PER70FhVQRAvXTAKDIego81H14viW0Yg7GHIPUwRPWkACdFhcL
2mIVh4bGBsKKYYROCq/2tJw=
=mRwF
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-utopia-maintainers

Reply via email to