Well, the problem isn't really getting the files, since I know how to get them. I can use the program flphoto. The only thing about the program is, that I must run it in root, so it can mount my camera, when I hook it up to the USB.
While the program was running I ran the command: mount -l
To see what the program was using.
Quote:usbdevfs on /proc/bus/usb/ type usbdevfs (rw)
Now the thing is, I want to make a launcher, to my flphoto, where I don't have to run it from a console in root. I either need to know how to make a launcher ask for root password, or how to let flphoto mount whatever it mounts under my user account.
Any thoughts?
Quote:Any thoughts?
Hmm.
Ok, assuming that your camera behaves like a standard USB storage device (mine does), and that you've got all the right kernel modules etc., then simply adding a line to /etc/fstab should enable you to access your photos without being root.
plug in the camera and type 'dmesg', you should see something like this:
Quote:usb 1-2: new high speed USB device using address 3scsi4 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 1.25
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sdc: 256000 512-byte hdwr sectors (131 MB)
sdc: assuming Write Enabled
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi removable disk sdc at scsi4, channel 0, id 0, lun 0
USB Mass Storage device found at 3
You can see the USB storage device connected on sdc1
So adding to your /etc/fstab a line like:
Quote:dev/sdc1 /mnt/camera vfat noauto,users 0 0
should enable you to get to your photos without being root.