#110 ✓resolved
Evan

Only root can see iPhone files

Reported by Evan | January 25th, 2010 @ 06:16 PM

I updates libiphone today (via yum) and now when I mount the iPhone to /media/iPhone, root can apparently see everything in /media/iPhone, but my regular user (evan) cannot. In fact, ls -l shows just a bunch of ???? for all the permissions:

As root:

[root@ehoffman ~]# ifuse /media/iPhone/ [root@ehoffman ~]# ls -Flrt /media/iPhone/ total 0
drwxr-xr-x 2 root root 68 2009-09-19 15:45 Purchases/
drwxr-xr-x 2 root root 68 2009-09-19 15:45 Podcasts/
-rw-r--r-- 1 root root 0 2009-09-19 15:45 com.apple.itunes.lock_sync -rw-r--r-- 1 root root 0 2009-09-19 15:45 com.apple.itdbprep.postprocess.lock drwxr-xr-x 2 root root 204 2009-09-19 15:49 Recordings/
drwxr-xr-x 6 root root 204 2009-09-19 16:01 iTunes_Control/
drwxr-xr-x 2 root root 68 2010-01-22 09:20 ApplicationArchives/
drwxr-xr-x 2 root root 68 2010-01-22 09:34 PublicStaging/
drwxr-xr-x 3 root root 136 2010-01-22 11:12 Photos/
drwxr-xr-x 2 root root 102 2010-01-22 11:13 Safari/
drwxr-xr-x 2 root root 102 2010-01-23 13:37 Downloads/
drwxr-xr-x 4 root root 204 2010-01-24 14:55 DCIM/
[root@ehoffman ~]# logout

As non-root:

[evan@ehoffman ~]$ ls -Flrt /media/ ls: cannot access /media/iPhone: Permission denied
total 4
d????????? ? ? ? ? ? iPhone/
lrwxrwxrwx 1 root root 17 2009-10-22 13:23 winxp -> 60BC50CA0AE313EF/
drwxr-xr-x 2 root root 4096 2009-12-28 01:59 wdusb/
[evan@ehoffman ~]$

I'm running FC11 x86_64, with libiphone 0.9.3, release 1.fc11.

Comments and changes to this ticket

  • Evan

    Evan January 25th, 2010 @ 07:08 PM

    • Tag cleared.

    The version numbers I listed are wrong. Here's the correct one:

    [root@ehoffman ~]# rpm -qa --info libiphone0 Name : libiphone0 Relocations: (not relocatable)
    Version : 0.9.6 Vendor: obs://build.opensuse.org/home:FunkyM
    Release : 1.1 Build Date: Sat 23 Jan 2010 05:49:49 PM EST
    Install Date: Mon 25 Jan 2010 12:02:30 PM EST Build Host: build33
    Group : System/Libraries Source RPM: libiphone-0.9.6-1.1.src.rpm

  • Martin S.

    Martin S. January 25th, 2010 @ 08:34 PM

    • State changed from “new” to “resolved”
    • Tag set to ifuse mount fuse

    The mount option -o allow_others which was added by default in prior versions was removed.
    Mounting as root was never recommended.

    You should simply mount as regular user and everything should be fine. To unmount use "fusermount -u /media/iPhone".

    If you still need to mount as root system wide, make sure to pass the fuse option -o allow_others to ifuse.

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