Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudo permission #63

Open
arsalanfiroozi opened this issue Jul 19, 2024 · 3 comments
Open

Sudo permission #63

arsalanfiroozi opened this issue Jul 19, 2024 · 3 comments

Comments

@arsalanfiroozi
Copy link

arsalanfiroozi commented Jul 19, 2024

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.

@fsphil
Copy link
Owner

fsphil commented Jul 19, 2024

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

@arsalanfiroozi
Copy link
Author

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)

@fsphil
Copy link
Owner

fsphil commented Jul 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants