fswebcam icon indicating copy to clipboard operation
fswebcam copied to clipboard

Sudo permission

Open arsalanfiroozi opened this issue 1 year ago • 3 comments

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.

arsalanfiroozi avatar Jul 19 '24 05:07 arsalanfiroozi

It'll be something in your script. How are you calling fswebcam?

fsphil avatar Jul 19 '24 06:07 fsphil

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)

arsalanfiroozi avatar Jul 19 '24 09:07 arsalanfiroozi

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.

fsphil avatar Jul 19 '24 10:07 fsphil