Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

udev rules for ubuntu disable access for non root users

#67

I installed the packages from http://ppa.launchpad.net/jonabeck/ppa/ubuntu.

The udev rules delivered with the packages make the usb devices available to root:root(0664) only. Which breaks access for any non root user.

To make access also possible for other users, I appended

, GROUP="audio"

to any line in /etc/udev/rules.d/89-libiphone.rules.

After that change I was able to access the IPhone also a normal user.

I'm not sure if the audio group is correct group to use, but at least seems root:root not to be the right choice.

Reported by Lars Kneschke · August 3rd, 2009 @ 07:36 AM

State: resolved
Milestone: 1.0 Release
Assigned to: nobody

Activity

  1. Nikias Bassen
    Nikias Bassen

    Hi Lars,

    if you have a file "/etc/udev/rules.d/89-libiphone.rules" then you are using an outdated version of libiphone. Try installing version 0.9.2 and usbmuxd version 0.1.1 (0.1.2 is about to be released). usbmuxd is automatically executed as a system daemon with root privileges when you plug in your device, and libphone/ifuse will be able to access the device as a normal user.

    August 3rd, 2009 @ 07:37 PM

  2. Lars Kneschke
    Lars Kneschke

    I installed the ubuntu packages. Where can I find the 0.9.2 packages or archives to build new packages?

    August 4th, 2009 @ 07:27 PM

  3. Nikias Bassen
    Nikias Bassen

    You already mentioned where you got the packages: https://launchpad.net/~jonabeck/+archive/ppa

    So you can add

    deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu jaunty main
    

    to your /etc/apt/sources.list and do

    sudo apt-get update
    sudo apt-get install libusbmux0 libiphone0 ifuse
    
    This should do it.

    August 4th, 2009 @ 08:12 PM

  4. Martin S.
    Martin S.
    • Tag set to ifuse, libiphone, packages, security, ubuntu, usb, usbmuxd
    • State changed from new to resolved
    • Milestone set to 1.0 Release

    This should be fixed by the latest changes due to the use of usbmuxd.

    Please reopen the ticket if you still experience it with the latest release.
    If you are up for experiments you can also retrieve the code from the repositories listed here: http://libiphone.lighthouseapp.com/projects/home

    August 6th, 2009 @ 05:34 PM

  5. Lars Kneschke
    Lars Kneschke

    You were right!

    I installed the packages for intrepid and not the packages for jaunty. After installing the jaunty packages everything worked like expected.

    Thanks for your help.

    August 12th, 2009 @ 03:49 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.