#67 ✓resolved
Lars Kneschke

udev rules for ubuntu disable access for non root users

Reported by Lars Kneschke | August 3rd, 2009 @ 07:36 AM | in 1.0 Release

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.

Comments and changes to this ticket

  • Nikias Bassen

    Nikias Bassen August 3rd, 2009 @ 07:37 PM

    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.

  • Lars Kneschke

    Lars Kneschke August 4th, 2009 @ 07:27 PM

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

  • Nikias Bassen

    Nikias Bassen August 4th, 2009 @ 08:12 PM

    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.
  • Martin S.

    Martin S. August 6th, 2009 @ 05:34 PM

    • 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

  • Lars Kneschke

    Lars Kneschke August 12th, 2009 @ 03:49 AM

    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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Pages