jedierikb
jedierikb

Reputation: 13099

What does it mean to give a process CAP_SYS_RAWIO in linux?

What does it mean to give a process CAP_SYS_RAWIO in linux? How do I do that? (Specifically to give pyUsb access to devices. This is related to this pyusb question)

Upvotes: 6

Views: 13958

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798884

From the capabilities(7) man page:

  CAP_SYS_RAWIO
          Perform I/O port  operations  (iopl(2)  and  ioperm(2));  access
          /proc/kcore.

Capabilities are set on an executable with setcap(8).

Upvotes: 8

Related Questions