Allow user to access /dev/xyz
Hi there!
I would like to know how I make a file from /dev accessible to a normal user? I tried to chmod +s /dev/xyz but it didn't work. Need that to access my Webcam or my gps ... Thanks, greeting Sascha |
One common way is to make devices accessible to a group. For instance make /dev/video0 owned by root:video
chown root:video /dev/video0 then chmod 0660 /dev/video0 Now you edit /etc/group and add all the users which require access to /dev/video0 to the video group. |
Hi!
Thanks /bin/bash ... I could bite my own ass if I could reach it... it's that simple and I didn't get it myself... Thank you a lot! GReetz, Sascha |
All times are GMT -5. The time now is 05:21 PM. |