#141 ✓hold
Nico Caprioli

Unable to change permission for iphone

Reported by Nico Caprioli | May 22nd, 2010 @ 11:29 AM

If I try to upload a file to my iPhone it upload correcly but i have a popup each file that tells me "unable to change permission for /path/on/my/iphone"
the same happens on amarok when i transfer my library so, 500 popups in the meanwhile block my pc.

Is this a known bug or an error on my configuration?

Comments and changes to this ticket

  • Martin S.

    Martin S. May 22nd, 2010 @ 12:31 PM

    • Tag set to amarok, iphone, permissions
    • State changed from “new” to “open”

    It is not a known bug and it's not a behaviour that should happen.

    Please supply the following infos:

    • Distribution and Version
    • Desktop Environment in use
    • How do you mount your iPhone? iFuse/GFVS/KIO?
    • iPhone model and OS version?
    • Where and when exactly does that "unable to change permission..." dialog come up? Within Amarok or Dolphin or...?
    • Did you compile everything or installed from packages?
    • Which version you have running of usbmuxd, libimobiledevice and ifuse (if in use)?

    In general, if you are able to run "ideviceinfo", everything should work. If not, it is often some configuration issue of the system.

  • Nico Caprioli

    Nico Caprioli May 22nd, 2010 @ 01:31 PM

    • I use (k)ubuntu lucid (KDE desktop)
    • I have a 3G iPhone (FW 3.1.2 with Tweak for 3.1.3, so ideviceinfo see it as 3.1.3)
    • The error appear everytime i copy a file into the iPhone (dolphin + ifuse, Amarok)
    • I have this error with git version and package version (currently I have git compiled version) I have this:
    • iFuse 1.0.0
    • usbmuxd 1.0.4
    • libimobiledevice 1.0.1
    • libplist 1.3
  • Martin S.

    Martin S. May 22nd, 2010 @ 01:44 PM

    Thanks for the information.

    Please describe how you mount the device and into which directory.

    Also please check the syslog while you get the dialog, usbmuxd should notify about any issues.

    Also running ifuse with the "-d" debug switch shows what is going on exactly at the time things go wrong.

    My assumption is that the directory you create for the mount has wrong permissions or your user accessing it is not member of the "fuse" group.

  • Nico Caprioli

    Nico Caprioli May 22nd, 2010 @ 02:04 PM

    Amarok auto-recognize iPhone so mountpoint for it is /tmp/kde-nico/amarok/device etc etc
    With iFuse I mounted in ~/iphone (777 privileges) or /media/iphone

    ifuse -d doesent's seems to see errors and on my syslog there aren't ubmuxd notify
    My user is member of "fuse" gorup

  • Nico Caprioli

    Nico Caprioli May 24th, 2010 @ 05:17 PM

    can be this issue related to a bad libimobiledevice configuration?

  • Ricardo

    Ricardo June 30th, 2010 @ 06:54 PM

    • Milestone order changed from “0” to “0”

    I can confirm this on Kubuntu 10.4. Makes copying my entire collection (~5GB) impossible due to endless popups indicating "unable to change permissions ...". I have also tried:
    - Adding my user to the fuse group. (I wasn't on it; added it and logged out/in, still no results) - Logging into my ipod touch via ssh and setting permissions of /var/mobile/Media/ (ie sudo chmod a+w -R /var/mobile/Media/) - Uninstalling and reinstalling. I used kubuntu repo and ppa repo for newer version. Both versions show same message)

  • Nico Caprioli

    Nico Caprioli June 30th, 2010 @ 07:01 PM

    I solved it by restoring FW (and then re-JB it ad so on)

    not it works

  • Ricardo

    Ricardo July 2nd, 2010 @ 12:41 AM

    Sorry, I tried your suggestion (restored factory FW) and I think it made it worse. It certainly didn't fix it. Please let me know what kind of information would be useful.

  • Nico Caprioli
  • Martin S.

    Martin S. July 5th, 2010 @ 10:29 AM

    • State changed from “open” to “hold”
    • Tag changed from amarok, iphone, permissions to amarok, iphone, jailbreak, kubuntu, permissions

    I was talking about the device's syslog which one can monitor by running "idevicesyslog" in parallel.
    If during the dialog nothing pops up there, it is cleary not a bug and rather a configuration/permission issue.

    Besides:
    a) Kubuntu has no iPhone support judging from forum reports. For whatever reason they screwed up while Ubuntu has all working fine.
    b) Again, please run "idevicesyslog" in parallel and post what error it shows during the dialog coming up.
    c) "Faking" a firmware as with 3.1.2 -> 3.1.3 is generally a bad idea. ;)

    To me this clearly sounds like you guys screwed up your device configuration during your jailbreak party so it misbehaves now...
    To further confirm this, restoring and re-JB makes it work again (as it fixes up the permissions on the device).

    Now I don't see any bug on libimobiledevice and related components here.

    @Ricardo: Could you also please supply the information I requested in my first comment? Thanks!

  • Ricardo

    Ricardo July 22nd, 2010 @ 12:42 AM

    I'm a little tied up until this weekend, but I will do so.

    I must stress, however, that I put on the stock firmware and did not jailbreak and still got the error. I looked upstream to find some info, and last thing I wanted to try was to put an entry for my device on /etc/fstab, since kde mounts devices and such that are not on fstab to a subdirectory under /tmp. Somewhere I read this solved someone's problem with getting the same "change permissions" error while using other software. If you know how I can add the device to my fstab (ie fstab line), I may be able to tell you if this solves the problem. Until that, I will post something over the weekend using idevicesyslog. I hope I can help you guys out best I can. Thanks for the great software.

  • Martin S.

    Martin S. July 22nd, 2010 @ 06:29 AM

    Please note that the whole libimobiledevice/ifuse implementation is not using device nodes or mounting similar to other storage device implementations. It is just a fuse driver with a total custom implementation.

    Thus it is not really made to be used with fstab. If you still want to set it up you would have to create a symlink in /sbin/mount.ifuse to your ifuse binary and use "ifuse" as filesystem part the fstab line. It should be able to handle the requirements of the regular mount command.

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

People watching this ticket

Pages