camera access works only when root

Bug #26652 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
libgphoto2 (Debian)
Fix Released
Unknown
libgphoto2 (Ubuntu)
Invalid
High
Martin Pitt

Bug Description

Automatically imported from Debian bug report #342282 http://bugs.debian.org/342282

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.9 KiB)

Message-ID: <email address hidden>
Date: Tue, 06 Dec 2005 21:58:17 +0200
From: =?iso-8859-15?q?Pekka_J=E4=E4skel=E4inen?= <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: camera access works only when root

Package: digikam
Version: 0.8.0-1-1
Severity: normal

I can access my camera (a Canon A75 trough USB) only when I'm running
digikam as root.

This (setting too strict permissions to USB devices?) is probably really
an udev or gphoto2 issue, but I encountered it first when using digikam.
Maybe digikam could have a setup tool like in k3b which sets the correct
permissions, or digikam deb package could set them in installation?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages digikam depends on:
ii kdelibs4c2 4:3.4.2-4 core libraries for all KDE applica
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libaudio2 1.7-3 The Network Audio System (NAS). (s
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libexif12 0.6.12-2 library to parse EXIF files
ii libfam0 2.7.0-8 client library to control the FAM
ii libfontconfig1 2.3.2-1.1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-5 GCC support library
ii libgphoto2-2 2.1.6-5.3 gphoto2 digital camera library
ii libgphoto2-port0 2.1.6-5.3 gphoto2 digital camera port librar
ii libice6 6.8.2.dfsg.1-11 Inter-Client Exchange library
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libimlib2 1.2.1-2 powerful image loading and renderi
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libkexif1c2 0.2.2-1 library for KDE to read/display/ed
ii libkipi0c2 0.1.2-1 library for apps that want to use
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libqt3-mt 3:3.3.5-3 Qt GUI Library (Threaded runtime v
ii libsm6 6.8.2.dfsg.1-11 X Window System Session Management
ii libsqlite3-0 3.2.7-1 SQLite 3 shared library
ii libstdc++6 4.0.2-5 The GNU Standard C++ Library v3
ii libtiff4 3.7.4-1 Tag Image File Format (TIFF) libra
ii libx11-6 6.8.2.dfsg.1-11 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.8.2.dfsg.1-11 X Window System miscellaneous exte
ii libxft2 2.1.7-1 FreeType-based font drawing librar
ii libxi6 6.8.2.dfsg.1-11 X Window System Input extension li
ii libx...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 6 Dec 2005 21:04:58 +0000
From: Mark Purcell <email address hidden>
To: Pekka =?iso-8859-1?q?J=E4=E4skel=E4inen?= <email address hidden>, <email address hidden>
Subject: Re: Bug#342282: camera access works only when root

On Tuesday 06 December 2005 19:58, Pekka J=E4=E4skel=E4inen wrote:
> I can access my camera (a Canon A75 trough USB) only when I'm running
> digikam as root.

I can confirm this problem as I just encountered it on the weekend.

We shall investigate and get back to you.

Thanks for the report.

Mark

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 6 Dec 2005 22:27:04 +0000
From: Mark Purcell <email address hidden>
To: Pekka =?iso-8859-1?q?J=E4=E4skel=E4inen?= <email address hidden>
Cc: <email address hidden>,
 <email address hidden>,
 <email address hidden>
Subject: Re: Bug#342282: camera access works only when root

reassign 342282 libgphoto2-2
severity 342282 grave
severity 341151 grave
severity 341082 grave
merge 342282 342279 341151 341082
thanks

Pekka,

After some futher digging this appears to be a issue between libgphoto and =
the=20
new udev.

I have reassigned the bug to libgphoto2-2 raised severity to grave, as it=20
'makes the package in question unusable or mostly so' and merged with other=
=20
reports of the same issue.

Mark

On Tuesday 06 December 2005 19:58, Pekka J=E4=E4skel=E4inen wrote:
> Package: digikam
> Version: 0.8.0-1-1
> Severity: normal
>
> I can access my camera (a Canon A75 trough USB) only when I'm running
> digikam as root.
>
> This (setting too strict permissions to USB devices?) is probably really
> an udev or gphoto2 issue, but I encountered it first when using digikam.
> Maybe digikam could have a setup tool like in k3b which sets the correct
> permissions, or digikam deb package could set them in installation?

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Marking as duplicate based on debbugs merge (341083,342282)

This bug has been marked as a duplicate of bug 26656.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 6 Dec 2005 23:22:58 +0000
From: Mark Purcell <email address hidden>
To: <email address hidden>
Subject: Re: Processed: Re: Bug#342282: camera access works only when root

severity 341082 normal
severity 341083 grave
merge 341083 341151 342279 342282
thanks

On Tuesday 06 December 2005 22:33, you wrote:
> Processing commands for <email address hidden>:
> > reassign 342282 libgphoto2-2
>
> Bug#342282: camera access works only when root
> Bug reassigned from package `digikam' to `libgphoto2-2'.
>
> > severity 342282 grave
>
> Bug#342282: camera access works only when root
> Severity set to `grave'.
>
> > severity 341151 grave
>
> Bug#341151: libgphoto2-2: Canon Powershot A70 works only for root
> Severity set to `grave'.
>
> > severity 341082 grave
>
> Bug#341082: ftp connect not possible when root directory size > 4096
> Severity set to `grave'.
>
> > merge 342282 342279 341151 341082
>
> Bug#341082: ftp connect not possible when root directory size > 4096
> Bug#341151: libgphoto2-2: Canon Powershot A70 works only for root
> Mismatch - only Bugs in same state can be merged:
> Values for `package' don't match:
> #341082 has `proftpd';
> #341151 has `libgphoto2-2'
>
> > thanks
>
> Stopping processing here.
>
> Please contact me if you need assistance.
>
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 08 Dec 2005 03:32:07 -0800
From: Frederic Peters <email address hidden>
To: <email address hidden>
Subject: Bug#341083: fixed in libgphoto2 2.1.6-6

Source: libgphoto2
Source-Version: 2.1.6-6

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

libgphoto2-2-dev_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2-dev_2.1.6-6_i386.deb
libgphoto2-2_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2_2.1.6-6_i386.deb
libgphoto2-port0_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-port0_2.1.6-6_i386.deb
libgphoto2_2.1.6-6.diff.gz
  to pool/main/libg/libgphoto2/libgphoto2_2.1.6-6.diff.gz
libgphoto2_2.1.6-6.dsc
  to pool/main/libg/libgphoto2/libgphoto2_2.1.6-6.dsc

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frederic Peters <email address hidden> (supplier of updated libgphoto2 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 address hidden>)

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

Format: 1.7
Date: Thu, 8 Dec 2005 12:02:29 +0100
Source: libgphoto2
Binary: libgphoto2-port0 libgphoto2-2-dev libgphoto2-2
Architecture: source i386
Version: 2.1.6-6
Distribution: unstable
Urgency: low
Maintainer: Frederic Peters <email address hidden>
Changed-By: Frederic Peters <email address hidden>
Description:
 libgphoto2-2 - gphoto2 digital camera library
 libgphoto2-2-dev - gphoto2 digital camera library (development files)
 libgphoto2-port0 - gphoto2 digital camera port library
Closes: 334578 341083 342279 342282
Changes:
 libgphoto2 (2.1.6-6) unstable; urgency=low
 .
   * Acknowledge NMUs, thanks to all.
   * debian/hotplug: changed hotplug script to support new udev and kernel
     versions (thanks to Aleksey Kliger) (closes: #341083, #342279, #342282)
   * debian/libgphoto2-2.postinst: don't generate udev rules if udev directory
     doesn't exist (closes: #334578)
Files:
 22486dfec96be9ebad9c4fc50f46d194 892 libs optional libgphoto2_2.1.6-6.dsc
 527bdf4fb42e4b57235b724f1a3aad91 11230 libs optional libgphoto2_2.1.6-6.diff.gz
 7bd39891c4dcfad525715fba74729eeb 549656 libdevel optional libgphoto2-2-dev_2.1.6-6_i386.deb
 2dd4b0f481407c5c813ef7b79e3c434d 97026 libs optional libgphoto2-port0_2.1.6-6_i386.deb
 2699535ba9e6d6c8b843fb3ca74f54de 934332 libs optional libgphoto2-2_2.1.6-6_i386.deb

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

iD8DBQFDmBWgoR3LsWeD7V4RApECAJ9Z5zE11NBwso8dM63Nrhc/eHpJvACfc/1o
EgboNHdDCZanG6vl7O8+AjU=
=EXKg
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 08 Dec 2005 03:32:07 -0800
From: Frederic Peters <email address hidden>
To: <email address hidden>
Subject: Bug#342279: fixed in libgphoto2 2.1.6-6

Source: libgphoto2
Source-Version: 2.1.6-6

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

libgphoto2-2-dev_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2-dev_2.1.6-6_i386.deb
libgphoto2-2_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2_2.1.6-6_i386.deb
libgphoto2-port0_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-port0_2.1.6-6_i386.deb
libgphoto2_2.1.6-6.diff.gz
  to pool/main/libg/libgphoto2/libgphoto2_2.1.6-6.diff.gz
libgphoto2_2.1.6-6.dsc
  to pool/main/libg/libgphoto2/libgphoto2_2.1.6-6.dsc

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frederic Peters <email address hidden> (supplier of updated libgphoto2 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 address hidden>)

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

Format: 1.7
Date: Thu, 8 Dec 2005 12:02:29 +0100
Source: libgphoto2
Binary: libgphoto2-port0 libgphoto2-2-dev libgphoto2-2
Architecture: source i386
Version: 2.1.6-6
Distribution: unstable
Urgency: low
Maintainer: Frederic Peters <email address hidden>
Changed-By: Frederic Peters <email address hidden>
Description:
 libgphoto2-2 - gphoto2 digital camera library
 libgphoto2-2-dev - gphoto2 digital camera library (development files)
 libgphoto2-port0 - gphoto2 digital camera port library
Closes: 334578 341083 342279 342282
Changes:
 libgphoto2 (2.1.6-6) unstable; urgency=low
 .
   * Acknowledge NMUs, thanks to all.
   * debian/hotplug: changed hotplug script to support new udev and kernel
     versions (thanks to Aleksey Kliger) (closes: #341083, #342279, #342282)
   * debian/libgphoto2-2.postinst: don't generate udev rules if udev directory
     doesn't exist (closes: #334578)
Files:
 22486dfec96be9ebad9c4fc50f46d194 892 libs optional libgphoto2_2.1.6-6.dsc
 527bdf4fb42e4b57235b724f1a3aad91 11230 libs optional libgphoto2_2.1.6-6.diff.gz
 7bd39891c4dcfad525715fba74729eeb 549656 libdevel optional libgphoto2-2-dev_2.1.6-6_i386.deb
 2dd4b0f481407c5c813ef7b79e3c434d 97026 libs optional libgphoto2-port0_2.1.6-6_i386.deb
 2699535ba9e6d6c8b843fb3ca74f54de 934332 libs optional libgphoto2-2_2.1.6-6_i386.deb

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

iD8DBQFDmBWgoR3LsWeD7V4RApECAJ9Z5zE11NBwso8dM63Nrhc/eHpJvACfc/1o
EgboNHdDCZanG6vl7O8+AjU=
=EXKg
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 08 Dec 2005 03:32:07 -0800
From: Frederic Peters <email address hidden>
To: <email address hidden>
Subject: Bug#342282: fixed in libgphoto2 2.1.6-6

Source: libgphoto2
Source-Version: 2.1.6-6

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

libgphoto2-2-dev_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2-dev_2.1.6-6_i386.deb
libgphoto2-2_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2_2.1.6-6_i386.deb
libgphoto2-port0_2.1.6-6_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-port0_2.1.6-6_i386.deb
libgphoto2_2.1.6-6.diff.gz
  to pool/main/libg/libgphoto2/libgphoto2_2.1.6-6.diff.gz
libgphoto2_2.1.6-6.dsc
  to pool/main/libg/libgphoto2/libgphoto2_2.1.6-6.dsc

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frederic Peters <email address hidden> (supplier of updated libgphoto2 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 address hidden>)

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

Format: 1.7
Date: Thu, 8 Dec 2005 12:02:29 +0100
Source: libgphoto2
Binary: libgphoto2-port0 libgphoto2-2-dev libgphoto2-2
Architecture: source i386
Version: 2.1.6-6
Distribution: unstable
Urgency: low
Maintainer: Frederic Peters <email address hidden>
Changed-By: Frederic Peters <email address hidden>
Description:
 libgphoto2-2 - gphoto2 digital camera library
 libgphoto2-2-dev - gphoto2 digital camera library (development files)
 libgphoto2-port0 - gphoto2 digital camera port library
Closes: 334578 341083 342279 342282
Changes:
 libgphoto2 (2.1.6-6) unstable; urgency=low
 .
   * Acknowledge NMUs, thanks to all.
   * debian/hotplug: changed hotplug script to support new udev and kernel
     versions (thanks to Aleksey Kliger) (closes: #341083, #342279, #342282)
   * debian/libgphoto2-2.postinst: don't generate udev rules if udev directory
     doesn't exist (closes: #334578)
Files:
 22486dfec96be9ebad9c4fc50f46d194 892 libs optional libgphoto2_2.1.6-6.dsc
 527bdf4fb42e4b57235b724f1a3aad91 11230 libs optional libgphoto2_2.1.6-6.diff.gz
 7bd39891c4dcfad525715fba74729eeb 549656 libdevel optional libgphoto2-2-dev_2.1.6-6_i386.deb
 2dd4b0f481407c5c813ef7b79e3c434d 97026 libs optional libgphoto2-port0_2.1.6-6_i386.deb
 2699535ba9e6d6c8b843fb3ca74f54de 934332 libs optional libgphoto2-2_2.1.6-6_i386.deb

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

iD8DBQFDmBWgoR3LsWeD7V4RApECAJ9Z5zE11NBwso8dM63Nrhc/eHpJvACfc/1o
EgboNHdDCZanG6vl7O8+AjU=
=EXKg
-----END PGP SIGNATURE-----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.