Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-11-2006, 01:32 PM   #1
Registered: Feb 2005
Location: mexico city
Distribution: 2.6.17-gentoo-r8
Posts: 127

Rep: Reputation: 15
camera only as root ??

hi im using a camara with f-spot but i can only import photos as root , i read somewhere that i needed to active pam_console and modify console.perms but im not sure how to modify console.perms file so i can acces my camera as normal user
Old 07-11-2006, 02:19 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is your camera a device that has an embedded usb harddrive?
Is it listed in your /etc/fstab file or is it mounted automatically?
Be sure that you read your distro's user guide. It may contain instructions on using a camera, how it is accessed, and if there is a system group, such as "camera" that you might want to be a member of to gain access.

What is your distro? Does it use "udev" to automatically create the device that the camera uses and then mount the camera? A properly written udev rule for your camera might even identify it and cause a requestor to pop up asking whether you want to run the default app for importing pictures from a camera.

Insert the camera port and monitor /var/log/messages: "sudo tail -f /var/log/messages". This will probably identify which device is detected, such as "/dev/sda". In this case it might be mounted at "/dev/sda1". Then look at the device for the camera: "ls /dev/sda1"
brw-rw----+ 1 root disk 11, 0 2006-07-09 01:19 sda1

This is just an example. My system doesn't have /etc/security/pam_console.conf or /etc/security/console.conf or a
console.perms file. You might try "locate console.perms" to see if yours does. The advice you got may be for an older distro or a different distro, or maybe it is correct, but gentoo specific. If there is a console.perms file, read it. It may contain self-explanitory comments. Also, check if you have a "man pam_console" manpage or a "man console.perms" page.

Sorry I haven't been able to give you more advice. I don't use gentoo, and so I can't give you automatic instructions. If your system uses udev, then you might want to go to the Syndicated section of this web site. There was an LXer link pointing to a udev howto. It covered how to create new rules, and one of those rules might have been for a camera. Googling for "udev rules.d camera" may also turn up instructions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can only use usb camera as root lars_g_k Linux - Software 21 06-01-2006 10:48 AM
Access to digital camera only as root BobNutfield Linux - Software 1 04-19-2006 09:57 PM
camera only works in root??? sneckert Mandriva 9 01-30-2005 03:50 PM
Camera only works as root. ToolBoy Linux - Hardware 1 06-23-2003 07:29 PM
Digital Camera Software for an non-root user gboutwel Linux - Software 2 06-29-2002 12:12 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration