Subject: gnome-mount: wrong owner of device after switching user
Package: gnome-mount
Version: 0.7-2
Severity: important

*** Please type your report below this line ***

Dear Debian folks,


the desktop environment is GNOME. User1 uses the computer and is doing a
switch user (system → log out → switch user, System → <Benutzername>
abmelden → Benutzer wechseln), so that a second X session is started in
VT8(?) with GDM and gnome-screensaver is started for user1 (VT7).

User2 logs in and puts in a USB storage media. This device is mounted
and displayed, but is owned by user1.

When user2 logs in as the only user, everything works.

$ cat /var/log/syslog # user1.uid = 1000, user2.uid = 1002
[…]
Dec 30 20:55:13 hostname hald: mounted /dev/sdb on behalf of uid 1000
Dec 30 20:57:14 hostname acpid: client connected from 3763[0:0] 
Dec 30 20:57:32 hostname hald: unmounted /dev/sdb from '/media/disk' on behalf 
of uid 1000
# Switch from user2 to user1 and umount the device.
Dec 30 20:57:34 hostname acpid: client connected from 29984[0:0] 
Dec 30 20:57:39 hostname kernel: [41754.399230] FAT: utf8 is not a recommended 
IO charset for FAT filesystems, filesystem will be case sensitive!
# Switch back to user2 and mount it directly by double clicking on icon.
# Folders are owned by user2, but device is not. (Seen by right-click 
# and properties and also no files could be written to /media/disk/ .)
Dec 30 20:57:39 hostname hald: mounted /dev/sdb on behalf of uid 1002
Dec 30 21:01:03 hostname acpid: client connected from 3763[0:0] 
Dec 30 21:01:30 hostname acpid: client connected from 29984[0:0]
# Strange that this succeeded.
Dec 30 21:01:50 hostname hald: unmounted /dev/sdb from '/media/disk' on behalf 
of uid 1002
Dec 30 21:01:52 hostname acpid: client connected from 3763[0:0] 
Dec 30 21:01:55 hostname acpid: client connected from 29984[0:0] 
Dec 30 21:02:03 hostname acpid: client connected from 3763[0:0] 
Dec 30 21:02:15 hostname kernel: [42036.588622] mtrr: no MTRR for 
d0000000,8000000 found
Dec 30 21:02:15 hostname kernel: [42036.604817] mtrr: MTRR 2 not used
Dec 30 21:02:16 hostname acpid: client connected from 32089[0:0] 
Dec 30 21:02:20 hostname kernel: [42042.700976] FAT: utf8 is not a recommended 
IO charset for FAT filesystems, filesystem will be case sensitive!
# Log out both users and lock in with user2. Everything works fine.
Dec 30 21:02:20 hostname hald: mounted /dev/sdb on behalf of uid 1002
[…]

In my opinion, somehow it should be detected, that gnome-screensaver is
running for user1 and that user2 is logged in and working on the system.
In this case, the owner of the device should be user2.


Thanks a lot and a have happy New Year everyone.

Paul


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-mount depends on:
ii  eject                      2.1.5+deb1-4  ejects CDs and operates CD-Changer
ii  gconf2                     2.22.0-1      GNOME configuration database syste
ii  hal                        0.5.11-6      Hardware Abstraction Layer
ii  libart-2.0-2               2.3.20-2      Library of functions for 2D graphi
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.22.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.22.0-1      The Bonobo UI library
ii  libc6                      2.7-16        GNU C Library: Shared libraries
ii  libcairo2                  1.6.4-7       The Cairo 2D vector graphics libra
ii  libdbus-1-3                1.2.1-4       simple interprocess messaging syst
ii  libdbus-glib-1-2           0.76-1        simple interprocess messaging syst
ii  libeel2-2.20               2.20.0-7      Eazel Extensions Library (for GNOM
ii  libgail-common             1.22.3-1      GNOME Accessibility Implementation
ii  libgail18                  1.22.3-1      GNOME Accessibility Implementation
ii  libgconf2-4                2.22.0-1      GNOME configuration database syste
ii  libglade2-0                1:2.6.3-1     library to load .glade files at ru
ii  libglib2.0-0               2.16.6-1      The GLib library of C routines
ii  libgnome-keyring0          2.22.3-2      GNOME keyring services library
ii  libgnome2-0                2.20.1.1-2    The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.20.1.1-1    A powerful object-oriented display
ii  libgnomeui-0               2.20.1.1-2    The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.22.0-5    GNOME Virtual File System (runtime
ii  libgtk2.0-0                2.12.11-4     The GTK+ graphical user interface 
ii  libhal-storage1            0.5.11-6      Hardware Abstraction Layer - share
ii  libhal1                    0.5.11-6      Hardware Abstraction Layer - share
ii  libice6                    2:1.0.4-1     X11 Inter-Client Exchange library
ii  libnautilus-extension1     2.20.0-7      libraries for nautilus components 
ii  libnotify1 [libnotify1-gtk 0.4.4-3       sends desktop notifications to a n
ii  liborbit2                  1:2.14.16-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.20.5-3      Layout and rendering of internatio
ii  libpopt0                   1.14-4        lib for parsing cmdline parameters
ii  libsm6                     2:1.0.3-2     X11 Session Management library
ii  libxml2                    2.6.32.dfsg-5 GNOME XML library

gnome-mount recommends no packages.

Versions of packages gnome-mount suggests:
ii  cryptsetup                    2:1.0.6-7  configures encrypted block devices

-- no debconf information

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to