Your message dated Thu, 15 Nov 2007 01:37:17 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#447698: hal: Encrypted key mounts but mount point belongs 
to root
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: hal
Version: 0.5.9.1-6
Severity: normal


Whereas my luks encrypted key is mounted under gnome via hal, the user
cannot write to the the mounted volume because the mount point doesn't
belong to him.

For ex. : 

[/media] $ ls -l
total 8
lrwxrwxrwx 1 root root    6 2007-07-12 11:28 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2007-07-12 11:28 cdrom0
drwxr-xr-x 3 root root 4096 2007-10-22 11:40 disk

This prevents me to write under /media/disk as user elesouef (id=1000).

In syslog :

Oct 23 09:48:48 lothlorien kernel: EXT3 FS on dm-0, internal journal
Oct 23 09:48:48 lothlorien kernel: EXT3-fs: mounted filesystem with
ordered data mode.
Oct 23 09:48:48 lothlorien hald: mounted /dev/dm-0 on behalf of uid 1000

Thanks.


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

Kernel: Linux 2.6.22-2-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser                      3.105       add and remove users and groups
ii  dbus                         1.1.1-3     simple interprocess messaging syst
ii  hal-info                     20070618-1  Hardware Abstraction Layer - fdi f
ii  libc6                        2.6.1-6     GNU C Library: Shared libraries
ii  libdbus-1-3                  1.1.1-3     simple interprocess messaging syst
ii  libdbus-glib-1-2             0.74-1      simple interprocess messaging syst
ii  libexpat1                    1.95.8-4    XML parsing C library - runtime li
ii  libgcc1                      1:4.2.2-3   GCC support library
ii  libglib2.0-0                 2.14.2-1    The GLib library of C routines
ii  libhal-storage1              0.5.10-1    Hardware Abstraction Layer - share
ii  libhal1                      0.5.10-1    Hardware Abstraction Layer - share
ii  libsmbios1                   0.13.10-1   Provide access to (SM)BIOS informa
ii  libstdc++6                   4.2.2-3     The GNU Standard C++ Library v3
ii  libusb-0.1-4                 2:0.1.12-7  userspace USB programming library
ii  libvolume-id0                0.114-2     libvolume_id shared library
ii  lsb-base                     3.1-24      Linux Standard Base 3.1 init scrip
ii  pciutils                     1:2.2.4-1.1 Linux PCI Utilities
ii  udev                         0.114-2     /dev/ and hotplug management daemo
ii  usbutils                     0.72-9      Linux USB utilities

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

-- no debconf information



--- End Message ---
--- Begin Message ---
Emmanuel Lesouef schrieb:
> Package: hal
> Version: 0.5.9.1-6
> Severity: normal
> 
> 
> Whereas my luks encrypted key is mounted under gnome via hal, the user
> cannot write to the the mounted volume because the mount point doesn't
> belong to him.
> 
> For ex. : 
> 
> [/media] $ ls -l
> total 8
> lrwxrwxrwx 1 root root    6 2007-07-12 11:28 cdrom -> cdrom0
> drwxr-xr-x 2 root root 4096 2007-07-12 11:28 cdrom0
> drwxr-xr-x 3 root root 4096 2007-10-22 11:40 disk
> 
> This prevents me to write under /media/disk as user elesouef (id=1000).
> 
> In syslog :
> 
> Oct 23 09:48:48 lothlorien kernel: EXT3 FS on dm-0, internal journal
> Oct 23 09:48:48 lothlorien kernel: EXT3-fs: mounted filesystem with
> ordered data mode.
> Oct 23 09:48:48 lothlorien hald: mounted /dev/dm-0 on behalf of uid 1000

Hi Emmanuel,

you are using ext3, so there is no way that hal can mount the filesystem
as another user (as is possible with vfat).
ext3 stores the user permissions directly in the file system. So the
best way to give write access to the user is to chmod/chown the mounted
directory.
Not a bug in hal, therefore closing it.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to