Open arsalanfiroozi opened 1 month ago
It'll be something in your script. How are you calling fswebcam?
There is no need to use a script to see the problem. run fswebcam i.jpg and sudo fswebcam i.jpg
the second one fails for me (Using ubuntu)
sudo will always prompt you for a password, that's normal. Normally you shouldn't need it anyway - fswebcam shouldn't really be run as root.
fswebcam asks for sudo permission even if I run it with sudo. This makes it useless in any script. Having sudo permission is fine. But asking with a pop up window even when it has been run with sudo is weird.