permission denied while automounting removable device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There occurs an error while automounting removable devices like USB stick ... When I plug in a error message with a red sign pops up:
"Cannot mount volume."
"You are not privileged to mount volume."
sometimes an empty box (just with the red sign and a OK button) pops up behind other box.
I'm using Ubuntu Feisty with latest updates. The described behaviour is only since some days or so. Before everthing was fine...
Problem solved. Sorry.
knut (mr-knut) wrote : | #1 |
knut (mr-knut) wrote : | #2 |
knut (mr-knut) wrote : | #3 |
knut (mr-knut) wrote : | #4 |
knut (mr-knut) wrote : | #5 |
knut (mr-knut) wrote : | #6 |
knut (mr-knut) wrote : | #7 |
I forgot to say:
If I mount the device afterwards with "sudo mount /dev/sda1 /media/something" there is no error and a pop up asks about what to do, p.ex. view some images from the connected device...
karlrhs (karlrhs) wrote : | #8 |
Kingston usb pen drive same problem. You are not privileged to mount this volume.
karlrhs (karlrhs) wrote : | #9 |
start gvm and capture output
karl@jemofthepl
manager.c/647: setting[0]: bool: autobrowse = 1
manager.c/647: setting[1]: bool: autoburn = 1
manager.c/642: setting[2]: string: autoburn_
manager.c/642: setting[3]: string: autoburn_
manager.c/647: setting[4]: bool: autoipod = 1
manager.c/642: setting[5]: string: autoipod_command = rhythmbox
manager.c/647: setting[6]: bool: autokeyboard = 0
manager.c/642: setting[7]: string: autokeyboard_
manager.c/647: setting[8]: bool: automount_drives = 1
manager.c/647: setting[9]: bool: automount_media = 1
manager.c/647: setting[10]: bool: automouse = 0
manager.c/642: setting[11]: string: automouse_command =
manager.c/647: setting[12]: bool: autoopen = 1
manager.c/642: setting[13]: string: autoopen_path = .autoopen:autoopen
manager.c/647: setting[14]: bool: autophoto = 1
manager.c/642: setting[15]: string: autophoto_command = gnome-volume-
manager.c/647: setting[16]: bool: autopalmsync = 0
manager.c/642: setting[17]: string: autopalmsync_
manager.c/647: setting[18]: bool: autoplay_cda = 1
manager.c/642: setting[19]: string: autoplay_
manager.c/647: setting[20]: bool: autoplay_dvd = 1
manager.c/642: setting[21]: string: autoplay_
manager.c/647: setting[22]: bool: autoplay_vcd = 1
manager.c/642: setting[23]: string: autoplay_
manager.c/647: setting[24]: bool: autopocketpc = 0
manager.c/642: setting[25]: string: autopocketpc_
manager.c/647: setting[26]: bool: autoprinter = 0
manager.c/642: setting[27]: string: autoprinter_command = gnome-cups-add hal://%h
manager.c/647: setting[28]: bool: autorun = 0
manager.c/642: setting[29]: string: autorun_path = .autorun:
manager.c/647: setting[30]: bool: autotablet = 0
manager.c/642: setting[31]: string: autotablet_command =
manager.c/656: settings[32]: float: percent_threshold = 0.050000
manager.c/656: settings[33]: float: percent_used = 0.010000
karlrhs (karlrhs) wrote : | #10 |
start udevmonitor and capture output
karl@jemofthepl
nothing comes up in the terminal
when I search for the file udev.log the system comes back with no such file.
karlrhs (karlrhs) wrote : | #11 |
Sorry about the above I did get some output.
start udevmonitor and capture output
DEVPATH=
SUBSYSTEM=usb
SEQNUM=2907
MAJOR=189
MINOR=258
DEVTYPE=usb_device
PHYSDEVBUS=usb
DEVICE=
PRODUCT=f30/10b/101
TYPE=0/0/0
BUSNUM=003
DEVNUM=003
UDEVD_EVENT=1
DEVNAME=/dev/3-2
UDEV [1204685522.725103] remove /class/
UDEV_LOG=3
ACTION=remove
DEVPATH=
SUBSYSTEM=
SEQNUM=2905
MAJOR=189
MINOR=258
PHYSDEVPATH=
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
UDEVD_EVENT=1
USB_BUS=003
USB_DEV=003
DEVNAME=
UDEV [1204685522.740932] remove /class/
UDEV_LOG=3
ACTION=remove
DEVPATH=
SUBSYSTEM=
SEQNUM=2906
MAJOR=254
MINOR=10
PHYSDEVPATH=
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
UDEVD_EVENT=1
DEVNAME=
UDEV [1204685522.807215] add /devices/
UDEV_LOG=3
ACTION=add
DEVPATH=
SUBSYSTEM=usb
SEQNUM=2895
DEVTYPE=
PHYSDEVBUS=usb
DEVICE=
PRODUCT=
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=
UDEVD_EVENT=1
UDEV [1204685522.810908] add /class/
UDEV_LOG=3
ACTION=add
DEVPATH=
SUBSYSTEM=scsi_host
SEQNUM=2896
PHYSDEVPATH=
UDEVD_EVENT=1
UDEV [1204685522.813209] add /class/
UDEV_LOG=3
ACTION=add
DEVPATH=
SUBSYSTEM=
SEQNUM=2897
MAJOR=254
MINOR=18
PHYSDEVPATH=
PHYSDEVBUS=usb
PHYSDEVDRIVER=
UDEVD_EVENT=1
DEVNAME=
UDEV [1204685522.815177] add /class/
UDEV_LOG=3
ACTION=add
DEVPATH=
SUBSYSTEM=
SEQNUM=2898
MAJOR=254
MINOR=19
PHYSDEVPATH=
PHYSDEVBUS=usb
PHYSDEVDRIVER=
UDEVD_EVENT=1
DEVNAME=
UDEV [1204685522.869261] add /class/
UDEV_LOG=3
ACTION=add
DEVPATH=
SUBSYSTEM=
SEQNUM=2899
MAJOR=189
MINOR=398
PHYSDEVPATH=
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
UDEVD_EVENT=1
USB_BUS=004
USB_DEV=015
DEVNAME=
UEVENT[
ACTION=add
DEVPATH=
SUBSYSTEM=usb
SEQNUM=2908
MAJOR=189
MINOR=259
DEVTYPE=usb_device
PHYSDEVBUS=usb
DEVICE=
PRODUCT=f30/10b/101
TYPE=0/0/0
BUSNUM=003
DEVNUM=004
UEVENT[
ACTION=add
DEVPATH=
SUBSYSTEM=
SEQNUM=2909
MAJOR=254
MINOR=10
PHYSDEVPATH=/dev...
karlrhs (karlrhs) wrote : | #12 |
lshal
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.serial = '0000:00:1d.1' (string)
usb_device.speed = 12.0 (12) (double)
usb_device.
usb_device.vendor = 'Linux 2.6.22-14-generic uhci_hcd' (string)
usb_device.
usb_device.
usb_device.
udi = '/org/freedeskt
info.capabilities = {'usbraw'} (string list)
info.category = 'usbraw' (string)
info.parent = '/org/freedeskt
info.product = 'USB Raw Device Access' (string)
info.udi = '/org/freedeskt
linux.device_file = '/dev/bus/
linux.
linux.subsystem = 'usb_device' (string)
linux.sysfs_path = '/sys/class/
usbraw.device = '/dev/bus/
udi = '/org/freedeskt
info.bus = 'usb' (string)
info.linux.driver = 'hub' (string)
info.parent = '/org/freedeskt
info.product = 'USB Hub Interface' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedeskt
linux.
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/
usb.bus_number = 2 (0x2) (int)
usb.can_wake_up = true (bool)
usb.configura
usb.device_class = 9 (0x9) (int)
usb.device_
usb.device_
usb.device_
usb.interface
usb.interface
usb.interface
usb.interface
usb.is_
usb.linux.
usb.linux.
usb.max_power = 0 (0x0) (int)
usb.num_
usb.num_
usb.num_ports = 2 (0x2) (int)
usb.product = 'USB Hub Interface' (string)
usb.product_id = 0 (0x0) (int)
usb.serial = '0000:00:1d.1' (string)
usb.speed = 12.0 (12) (double)
usb.speed_bcd = 4608 (0x1200) (int)
usb.vendor = 'Linux 2.6.22-14-generic uhci_hcd' (string)
usb.vendor_id = 0 (0x0) (int)
usb.version = 1.1 (1.1) (double)
usb.version_bcd = 272 (0x110) (int)
udi = '/org/freedeskt
info.bus = 'pci' (string)
info.linux.driver = 'uhci_hcd' (string)
info.parent = '/...
karlrhs (karlrhs) wrote : | #13 |
dmesg
[ 11.164431] pnp: 00:0c: iomem range 0xc0000-0xdffff could not be reserved
[ 11.164434] pnp: 00:0c: iomem range 0xe0000-0xfffff could not be reserved
[ 11.164438] pnp: 00:0c: iomem range 0x100000-0x1fffffff could not be reserved
[ 11.167079] Time: tsc clocksource has been installed.
[ 11.194791] PCI: Bridge: 0000:00:01.0
[ 11.194793] IO window: disabled.
[ 11.194799] MEM window: fa100000-fe1fffff
[ 11.194804] PREFETCH window: b9e00000-d9efffff
[ 11.194810] PCI: Bridge: 0000:00:1e.0
[ 11.194813] IO window: d000-dfff
[ 11.194819] MEM window: fe200000-feafffff
[ 11.194824] PREFETCH window: d9f00000-d9ffffff
[ 11.194842] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[ 11.194856] NET: Registered protocol family 2
[ 11.231039] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 11.231093] TCP established hash table entries: 16384 (order: 5, 196608 bytes)
[ 11.231236] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 11.231337] TCP: Hash tables configured (established 16384 bind 16384)
[ 11.231340] TCP reno registered
[ 11.243123] checking if image is initramfs... it is
[ 11.694318] Switched to high resolution mode on CPU 0
[ 11.902612] Freeing initrd memory: 7116k freed
[ 11.903043] audit: initializing netlink socket (disabled)
[ 11.903061] audit(120465599
[ 11.905462] VFS: Disk quotas dquot_6.5.1
[ 11.905533] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 11.905643] io scheduler noop registered
[ 11.905645] io scheduler anticipatory registered
[ 11.905648] io scheduler deadline registered
[ 11.905666] io scheduler cfq registered (default)
[ 11.905741] Boot video device is 0000:01:00.0
[ 11.905923] isapnp: Scanning for PnP cards...
[ 12.259494] isapnp: No Plug & Play device found
[ 12.290477] Real Time Clock Driver v1.12ac
[ 12.290591] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 12.290689] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 12.291612] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 12.292507] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 12.292770] input: Macintosh mouse button emulation as /class/input/input0
[ 12.292865] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 12.292868] PNP: PS/2 controller doesn't have AUX irq; using default 12
[ 12.296481] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 12.296489] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 12.296718] mice: PS/2 mouse device common for all mice
[ 12.296858] EISA: Probing bus 0 at eisa.0
[ 12.296896] EISA: Detected 0 cards.
[ 12.297011] TCP cubic registered
[ 12.297026] NET: Registered protocol family 1
[ 12.297052] Using IPI No-Shortcut mode
[ 12.297237] Magic number: 0:323:695
[ 12.297445] hash matches device 0000:00:00.0
[ 12.297892] Freeing unused kernel memory: 364k freed
[ 12.337361] input: AT Translated Set 2 keyboard as /class/input/input1
[ 13.528155] AppArmor: AppArmor initialized<
[ 13.537735] fuse init (API version 7.8)...
karlrhs (karlrhs) wrote : | #14 |
id file out put
uid=1000(karl) gid=27(sudo) groups=
karl@jemofthepl
karlrhs (karlrhs) wrote : | #15 |
id hal output
karl@jemofthepl
id: hal: No such user
karl@jemofthepl
karlrhs (karlrhs) wrote : | #16 |
output of id haldaemon
karl@jemofthepl
uid=107(haldaemon) gid=114(haldaemon) groups=
karl@jemofthepl
karlrhs (karlrhs) wrote : | #17 |
output of uname -a
karl@jemofthepl
Linux jemoftheplain 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
karl@jemofthepl
karlrhs (karlrhs) wrote : | #18 |
karl@jemofthepl
[sudo] password for karl:
sudo: /etc/dbus-
karl@jemofthepl
karlrhs (karlrhs) wrote : | #19 |
Sorry, I just figured out that I was to save the output as files and send those.
I will do better next time.
Let me know if you need more information.
Karl
karlrhs (karlrhs) wrote : | #20 |
I solved my problem using kcmshell System/mountconfig.
Sorry for the problem.
Karl
Adam Niedling (krychek) wrote : | #21 |
knut: are you still having this issue?
karlrhs (karlrhs) wrote : Re: [Bug 119394] Re: permission denied while automounting removable device | #22 |
Problem solved.
Thank your for your quick response.
Karl
On Tue, May 6, 2008 at 5:35 AM, Adam Niedling <email address hidden> wrote:
> knut: are you still having this issue?
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>
> --
> permission denied while automounting removable device
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Adam Niedling (krychek) wrote : | #23 |
I assume you had the same issue as knut. So I'm closing this bug. Please reopen if necessary.
knut (mr-knut) wrote : | #24 |
sorry for late response :(
as i'm using ubuntu (with gnome) kcmshell is not usable here. the issue still remains...
Adam Niedling (krychek) wrote : | #25 |
But which Ubuntu? Hardy, Gutsy.. ?
knut (mr-knut) wrote : | #26 |
see initial text (-> feisty)
Adam Niedling (krychek) wrote : | #27 |
Please consider upgrading to Hardy. It may fix this issue.
description: | updated |
Changed in hal: | |
status: | New → Fix Released |
Seán Ó Séaghdha (seanos) wrote : | #28 |
- nung-udev.log Edit (7.0 KiB, text/plain)
I've just encountered this problem in Hardy. The USB drive worked fine yesterday, but today gives me this message. I expected a reboot would fix it, but it hasn't.
sean@nung:
Session2:
uid = '1000'
realname = ',,,,'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2009-03-
sean@nung:
uid=111(haldaemon) gid=123(haldaemon) grúpaí=
sean@nung:
Linux nung 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux
Seán Ó Séaghdha (seanos) wrote : | #29 |
Seán Ó Séaghdha (seanos) wrote : | #30 |
Seán Ó Séaghdha (seanos) wrote : | #31 |
following https:/ /wiki.ubuntu. com/DebuggingRe movableDevices:
uid=1000(user) gid=1000(user) groups= 4(adm), 20(dialout) ,24(cdrom) ,25(floppy) ,29(audio) ,30(dip) ,44(video) ,46(plugdev) ,110(netdev) ,111(lpadmin) ,113(powerdev) ,114(scanner) ,116(admin) ,1000(user)
id: hal: No such user
uid=107(haldaemon) gid=112(haldaemon) groups= 112(haldaemon) ,24(cdrom) ,25(floppy) ,46(plugdev) ,113(powerdev)
Linux mobile 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux