Guest Join UsHey Guest,
Welcome, Join our awesome community where you can discuss on various topics :-
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Much More.. or Create an Account


I am super Awesome Announcement, with links and can be used to announce important things. Check here
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
oscam
#1
I keep getting permission denied errors on the USB device.
I am running the container with uid=1000. This user is part of the dialout group.

Part of the log:


Code:
ziggo [mouse] creating thread for device /dev/bus/usb/002/003
2018/07/10 18:42:10 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
2018/07/10 18:42:10 00000000 s     (main) waiting for local card init
2018/07/10 18:42:10 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)
2018/07/10 18:42:10 13A60ED7 r   (reader) ziggo [mouse] Cannot open device: /dev/bus/usb/002/003
2018/07/10 18:42:10 440D7887 h    (webif) webif: decompressed 177437 bytes back into 436784 bytes
2018/07/10 18:42:10 440D7887 h    (webif) HTTP Server running. ip=0.0.0.0 port=8888
2018/07/10 18:42:12 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)
2018/07/10 18:42:12 13A60ED7 r   (reader) ziggo [mouse] Cannot open device: /dev/bus/usb/002/003
2018/07/10 18:42:14 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)
2018/07/10 18:42:14 13A60ED7 r   (reader) ziggo [mouse] Cannot open device: /dev/bus/usb/002/003
2018/07/10 18:42:16 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)
2018/07/10 18:42:16 13A60ED7 r   (reader) ziggo [mouse] Cannot open device: /dev/bus/usb/002/003
2018/07/10 18:42:18 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)
2018/07/10 18:42:18 13A60ED7 r   (reader) ziggo [mouse] Cannot open device: /dev/bus/usb/002/003
2018/07/10 18:42:20 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)
2018/07/10 18:42:20 13A60ED7 r   (reader) ziggo [mouse] Cannot open device: /dev/bus/usb/002/003
2018/07/10 18:42:22 13A60ED7 r   (reader) ziggo [mouse] ERROR: Opening device /dev/bus/usb/002/003 (errno=13 Permission denied)


Any suggestions on how to solve this?

Oscam is working correctly when installed in the OS directly, but I want to move the application into a container.

Wim.
Reply
#2
To solve the issue, I chowned the usb device to the user that is running the oscam-container. I also assigned 666 permissions to the usb device.
Oscam is now able to access the cardreader.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About LinuxServer.io

Focus MyBB Theme is designed for MyBB 1.8 series and is tested properly till the most current version of MyBB i.e. 1.8.9. It is simple, clean and light MyBB theme with use of font-awesome icons and shrinking header.

For any more information, please use our contact form.

              Quick Links

              User Links

              Advertise