gphoto2 only as root -

Bob Goodwin - Zuni, Virginia, USA bobgoodwin at wildblue.net
Thu Jan 23 15:54:42 UTC 2014


On 23/01/14 10:09, Jon Ingason wrote:
> 2014-01-23 14:23, Bob Goodwin - Zuni, Virginia, USA skrev:
>> On 23/01/14 06:19, Tim wrote:
>>> Were you logged in as yourself when connecting your camera hardware
>>> (whether by cable, or putting a memory card in)?
>>>
>>> I've had similar problems, once or twice, when I've switched users, and
>>> found I couldn't read a card.  It would appear that when the thingummy
>>> was plugged in, a device was created for it on the fly, and that device
>>> was owned by a particular user.  If I had disconnected, and waited a bit
>>> more before changing user, it would have worked.  As is had done, since
>>> then.
>> I never switch users except perhaps in a terminal when su/root is
>> required. I tried unplugging the cable, waiting, etc. Initially there
>> was no suitable app. installed, I yummed gphoto and things went down
>> hill from there. Restarted F-19 and had to yum gphoto there and a few
>> seconds later was looking ta the pictures of interest!
>>
>> Fedora-20 has been getting worse each day it seems, so I am preparing to
>> remove and eventually re-install it. The big problem seems to be that it
>> refuses to recognize the user as authorized to do many ordinary things.
>> I don't know what has happened but I don't want to waste any more time
>> with this copy [from the dvd version].
>>
>> I first need to be certain I've got everything I need copied to F-19. I
>> am writing this from F-19 which works pretty much without a hitch ...
>>
>> Thanks for the response,
>>
>> Bob
>>
> What does 'ls -l /run/media/'?
>
> I get:
>
> ls -l /run/media/
> totalt 0
> drwxr-x---+ 4 root root 80 23 jan 13.42 anv
>
> where 'anv' is my username and:
>
> ls -l /run/media/anv/
> totalt 6
> drwx------. 1 anv anv 4096 22 jan 19.09 37B9EF5808A7A87B
> drwx------. 3 anv anv 32768  1 jan  1970 disk
> dr-x------. 4 anv anv  136  7 feb  2036 DVDVOLUME
>
> where '37B9EF5808A7A87B' is my USB disk, 'disk' is my camera (or rather
> the memory card) and 'DVDVOLUME' is DVD in my DVD player
>

I had to restart F-20 to test. Then back here to F-19. Both give the 
same result except that in F-20 it asks for my pass word, the GUI 
authorization window pops up before I am allowed to mount the Flash 
drive. The camera, not the memory card, shows only in lsusb.

[bobg at box10 ~]$ ls -l /run/media/
total 0
drwxr-x---+ 3 root root 60 Jan 23 10:43 bobg

[bobg at box10 ~]$ ls -l /run/media/bobg/LIVE
total 4585312
drwx------. 2 bobg bobg      16384 Dec 18 09:55 boot
drwx------. 3 bobg bobg      16384 Dec 18 09:55 EFI
-rw-r--r--. 1 bobg bobg 4294967295 Dec 18 09:36 Fedora-20-x86_64-DVD.iso
-r--r--r--. 1 bobg bobg      32256 Dec 18 09:55 ldlinux.sys
drwx------. 2 bobg bobg      16384 Dec 18 09:55 LiveOS
drwx------. 2 bobg bobg      16384 Dec 18 09:55 syslinux
drwx------. 2 bobg bobg      16384 Aug 23 11:33 VMware-8
-rw-r--r--. 1 bobg bobg  400273548 Aug  6 18:15 
VMware-Workstation-Full-9.0.2-1031769.x86_64.txt


[bobg at box10 ~]$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 06a3:8021 Saitek PLC Eclipse II Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04b0:0320 Nikon Corp.
Bus 001 Device 002: ID 0781:5580 SanDisk Corp. SDCZ80 Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 002: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Tnx,

Bob

-- 
http://www.qrz.com/db/W2BOD
Box 10 Fedora-19/64 XFCE Linux



More information about the users mailing list