1

I had an installation with motion running as webcam-server. I reinstalled the linux-distro and reinstalled motion, and now "root" has no access to the webcam. The "pi" user still can access and work with the webcam, but the "pi" user only. Is there a way to change rights for connected webcams? I have already reinstalled motion, and that didn't help!

4
  • Is the webcam off when root tries to access it? Or is some process being run by pi capturing a stream?
    – Lord Loh.
    Feb 21, 2013 at 18:58
  • Well, when running motion under "pi" the "activity LED" of the webcam is active. When i try to access the webcam with motion under "root" the LED doesn't turn on.. so i guess that motion cannot connect to the device.. and when trying to let it run as root there's no other process that try to access the webcam too. (webcam: eyetoy > already worked 1 month ago before reinstalling the distro) >> *running with "SUDO" doesnt work, also which "real root (root)" it doesnt.. Feb 21, 2013 at 19:04
  • Can you find out what device is being used for the webcam in the /dev/ directory? Does that device file have the required permissions? Look for the permission of the original device file and not any symlink that it may have.
    – Lord Loh.
    Feb 21, 2013 at 23:17
  • what distro are you using?
    – Eineki
    Mar 24, 2013 at 15:38

1 Answer 1

1

Does your root user has a password set? If not, I'd set it a password and try again.

sudo passwd root
2
  • root and pi are both password protected.. this was one of the first things i did right after installing the linux distro Feb 21, 2013 at 18:46
  • Was root added to the proper groups? Maybe there is an issue with the device not having been put in the proper scope.
    – Jacobm001
    Jul 22, 2013 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.