Your message dated Sat, 21 Jun 2008 19:52:17 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#427109: fixed in hal 0.5.8.1-9etch1
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.8.1-9etch1

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-device-manager_0.5.8.1-9etch1_all.deb
  to pool/main/h/hal/hal-device-manager_0.5.8.1-9etch1_all.deb
hal-doc_0.5.8.1-9etch1_all.deb
  to pool/main/h/hal/hal-doc_0.5.8.1-9etch1_all.deb
hal_0.5.8.1-9etch1.diff.gz
  to pool/main/h/hal/hal_0.5.8.1-9etch1.diff.gz
hal_0.5.8.1-9etch1.dsc
  to pool/main/h/hal/hal_0.5.8.1-9etch1.dsc
hal_0.5.8.1-9etch1_i386.deb
  to pool/main/h/hal/hal_0.5.8.1-9etch1_i386.deb
libhal-dev_0.5.8.1-9etch1_i386.deb
  to pool/main/h/hal/libhal-dev_0.5.8.1-9etch1_i386.deb
libhal-storage-dev_0.5.8.1-9etch1_i386.deb
  to pool/main/h/hal/libhal-storage-dev_0.5.8.1-9etch1_i386.deb
libhal-storage1_0.5.8.1-9etch1_i386.deb
  to pool/main/h/hal/libhal-storage1_0.5.8.1-9etch1_i386.deb
libhal1_0.5.8.1-9etch1_i386.deb
  to pool/main/h/hal/libhal1_0.5.8.1-9etch1_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.7
Date: Fri, 20 Jun 2008 08:01:26 +0200
Source: hal
Binary: libhal-dev libhal-storage1 hal-doc libhal-storage-dev hal libhal1 
hal-device-manager
Architecture: source i386 all
Version: 0.5.8.1-9etch1
Distribution: stable
Urgency: low
Maintainer: Sjoerd Simons <[EMAIL PROTECTED]>
Changed-By: Michael Biebl <[EMAIL PROTECTED]>
Description: 
 hal        - Hardware Abstraction Layer
 hal-device-manager - Hardware Abstraction Layer user interface
 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
Changes: 
 hal (0.5.8.1-9etch1) stable; urgency=low
 .
   * debian/patches/10_ntfs_uid_mount.patch
     - Allow uid/gid mount option for ntfs. (Closes: #418176, #427109)
Files: 
 e461ccdac32a948f5c8f05c9f829e232 1194 admin optional hal_0.5.8.1-9etch1.dsc
 0ce009f1b0b4bee3c66ba06751126256 37178 admin optional 
hal_0.5.8.1-9etch1.diff.gz
 959a253334bd851187ba5099583b3c09 314340 admin optional 
hal-device-manager_0.5.8.1-9etch1_all.deb
 bd2bad2f7609b0ebe040ebdbbbd364e1 851168 doc optional 
hal-doc_0.5.8.1-9etch1_all.deb
 deb99e0ce745d783d28a66f67d400a14 525518 admin optional 
hal_0.5.8.1-9etch1_i386.deb
 ddd117d06926b75fd051323ecf8e1b78 270248 libs optional 
libhal1_0.5.8.1-9etch1_i386.deb
 c0bd3d46b53b4543845dd1324b501b4f 270302 libs optional 
libhal-storage1_0.5.8.1-9etch1_i386.deb
 8f029f9942ea9bbfaf9fb6f7a10f98ed 274328 libdevel optional 
libhal-dev_0.5.8.1-9etch1_i386.deb
 6e33f0629ba02c67a19f4afeb0b924bb 272482 libdevel optional 
libhal-storage-dev_0.5.8.1-9etch1_i386.deb

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

iEYEARECAAYFAkhbTyEACgkQh7PER70FhVTtwwCfZz6MQ1wNteFmyvpbfY19E0My
clkAnAumE+p/7ahYpu+aWydCOoGlyNR5
=DpYB
-----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