usbautocam only as root?

Andy Green fedora at warmcat.com
Mon Aug 2 18:25:36 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 02 August 2004 18:45, Dalibor Malek wrote:

Hi -

> we talked a while ago about your usbautocam Script (which is absolutely
> great).
> I have one question to this script.
> Is it really only possible to run that script as root?
> I made a user with standard rights and run the script but when I try to
> add a stick I get a failure message.
> And then if I plug the stick in or out nothing happens.
> When I do this as root its working fine.
> Is it possible to run the script as normal user or if not is it possible
> to auto login as root?

The usbautocam script sets up automount and hotplug and so on in /etc, starts 
and stops the automount script and suchlike.  For these actions it needs to 
have root powers.

To be clear though, the usbautocam script is only run once to set up the 
device.  After that you should be able to plug the device in while logged in 
as a normal user without needing to touch usbautocam again.

If that's not working, email me offlist with the errors and we'll see what we 
can see.

> P.S. I'm running FC2 with kernel-2.6.7-1.501.i586, on a VIA Eden Box.

Those little VIA boards are very nice.  They should be a lot cheaper though.

- -Andy

- -- 
Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players
http://warmcat.com/usbautocam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBDocgjKeDCxMJCTIRAhndAJ9T4EzlLHQbsCpdk0qq/1xG+nq2ygCeLOsF
QkO+x1wdLZFKowtKP931BQk=
=053D
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list