Please check if you are in the `fuse' group, using the groups
command. For example, for me:
[kumar@bluemoon ~] groups
kumar dialout cdrom floppy audio video plugdev netdev powerdev fuse vboxusers sbuild
If not, then we can investigate further.
HTH.
Kumar
--
Kumar Appaiah
Strange. I'd have asked you to confirm that the fuse module is loaded
into the kernel, but you have already confirmed that by claiming that
you are able to operate successfully as root.
I am almost certain that it is a permissions issue, but not sure where
it could lie. Sorry, but I hope someone else can help you better.
Kumar
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
The fuse group should have been created by the post-installation script
of the fuse-utils package.
> I created it and added my user to the group.
> I still get the same error message. :-(. Any ideas?
Check if there are any problems with the fuse-utils package on your
system.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
[...]
> I had installed ifuse through aptitude and turns out fuse-utils wasn't
> installed automatically.
>
> I installed it, but still no luck. I should mention that even before
> installing fuse-utils I was able to mount the iphone as root.
> >From websites I have seen, I'm trying to mount it using any the following:
>
> 1. ifuse iphone/ -s
> 2. mount /media/iphone (In fstab: /dev/hda /media/iphone fuse.ifuse user,noauto 0 0)
> 3. /sbin/mount.fuse.ifuse /dev/hda /media/iphone -s
>
> All of these methods give me the same error message.
Please post the output of the following two commands:
lshal -u $(hal-find-by-property --key "storage.model" --string "iPhone")
lshal -u $(hal-find-by-property --key "volume.label" --string "iPhone")
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
[...]
> lshal -u $(hal-find-by-property --key "storage.model" --string "iPhone")
> udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1290_28b0d03934dc7a3615752383097c47f1fb34a1e4'
> block.device = '/dev/bus/usb/007/003' (string)
> block.storage_device = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7' (string)
> info.addons = {'hald-addon-storage'} (string list)
> info.capabilities = {'block', 'storage'} (string list)
[...]
> storage.automount_enabled_hint = true (bool)
> storage.hotpluggable = false (bool)
> storage.model = 'iPhone' (string)
> storage.removable = true (bool)
> storage.vendor = 'Apple Computer, Inc.' (string)
> usb_device.bus_number = 7 (0x7) (int)
> usb_device.can_wake_up = false (bool)
> usb_device.configuration = 'PTP + Apple Mobile Device' (string)
> usb_device.configuration_value = 3 (0x3) (int)
[...]
> lshal -u $(hal-find-by-property --key "volume.label" --string "iPhone")
> udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1290_28b0d03934dc7a3615752383097c47f1fb34a1e4_if1'
> block.device = '/dev/bus/usb/007/003' (string)
> block.storage_device = '/org/freedesktop/Hal/devices/usb_device_5ac_1290_28b0d03934dc7a3615752383097c47f1fb34a1e4' (string)
> info.capabilities = {'block', 'volume', 'afc'} (string list)
[...]
> usb.configuration = 'PTP + Apple Mobile Device' (string)
> usb.configuration_value = 3 (0x3) (int)
[...]
> volume.fstype = 'fuse.ifuse' (string)
> volume.fsusage = 'filesystem' (string)
> volume.ignore = false (bool)
> volume.label = 'iPhone' (string)
> volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec'} (string list)
> volume.unmount.valid_options = {'lazy'} (string list)
> volume.uuid = '' (string)
I don't see anything wrong here; it looks like both udev and HAL have
done exactly what they were supposed to be doing.
What output do you get from:
ls -l /dev/fuse
ls -l /dev/bus/usb/*
Note: I never saw this message due to the aggressive spam filtering that
I have to apply to incoming mail for my "+debian" address.
> From: Florian Kulzer, Sent: Wednesday, July 8, 2009 2:34:43 PM
> On Tue, Jul 07, 2009 at 14:27:38 -0700, Alejandro Salas wrote:
> > > On Tue, Jul 07, 2009 at 11:32:10 -0700, Alejandro Salas wrote:
> > > > > The fuse group should have been created by the post-installation script
> > > > > of the fuse-utils package.
> > > > >
> > > > >> I created it and added my user to the group.
> > > > >> I still get the same error message. :-(. Any ideas?
[...]
> > I don't see anything wrong here; it looks like both udev and HAL have
That looks OK to me, too. I am afraid you will need someone who actually
uses an iPhone under Linux to help you further. (I do not have an iPhone
myself; I had hoped that I would be able to spot something suspicious in
the general device-plugging behavior but that does not seem to be the
case.)
[...]
> I got another piece of information from Amain on this blog:
> http://blog.zoomeren.nl/2009/03/24/mount-iphone-in-linux-using-usb-ifuse-libiphone/comment-page-1/#comment-44
>
> I ran strace and found out that the problem is that my user doesn't
> have access to the raw usb device. Here's a copy of a few lines of the
> strace output:
>
> open(”/dev/bus/usb/006/002″, O_RDWR) = -1 EACCES (Permission denied)
> open(”/dev/bus/usb/006/002″, O_RDONLY) = 3
> ioctl(3, USBDEVFS_IOCTL, 0xbfa67610) = -1 EPERM (Operation not permitted)
> close(3) = 0
> open(”/dev/bus/usb/006/001″, O_RDWR) = -1 EACCES (Permission denied)
> open(”/dev/bus/usb/006/001″, O_RDONLY) = 3
> ioctl(3, USBDEVFS_IOCTL, 0xbfa67610) = -1 EPERM (Operation not permitted)
> close(3)
That is indeed pretty clear; it seems that write access to the raw USB
device is required.
> Another thing Amain pointed me out is that his usb devices have the
> following ownerships:
>
> ls -l /dev/bus/usb/001/003
> crw-rw-r–+ 1 root plugdev 189, 2 2009-07-24 22:21 /dev/bus/usb/001/003
So his Ubuntu changes the group of the iPhone-associated USB (hub?)
device to plugdev. That is one possibility to give write access to a
select group of users. They furthermore seem to have some additional
access control on the device file, as can be seen from the "+" at the
end of the permissions string.
> And his user belongs to the plugdev group. As I posted last time.. my
> devices belong to root root... could this be the problem? Any ideas?
I would add your normal user to the plugdev group if you have not done
so already. Then I would manually (as root) change the group of the
relevant USB device file to plugdev and test if your user can access the
iPhone. If this works then we can try to figure out a udev rule to make
the change to plugdev automatic.
That is why the next step is to figure out how to make udev assign the
plugdev group automatically for the iPhone USB node. Please post the
output of this command:
udevadm info --attribute-walk --name /dev/bus/usb/007/003
(Replace "007/003" with the node that is associated with the iPhone at
the moment.)