- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm currently running KNC on Debian based workstations.
In order for non root user to run offload code I have to change permission on
/dev/mic[0-9]
/dev/mic/ctrl
/dec/mic/scif
my udev rule looks like this (/etc/udev/rules.d/104-mic.rules)
SUBSYSTEM=="mic", MODE="0666"
Permission are properly set for /dev/mic0 for example but not for /dev/mic/ctrl & /dec/mic/scif
In order to properly set permission for these I must add tgis to my /etc/rc.local
chmod a+rw /dev/mic/ctrl /dev/mic/scif
What would be a correct udev rule to properly set permission on /dev/mic/ctrl & /dec/mic/scif ?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the following udev rules on Ubuntu 14.04:
SUBSYSTEM=="mic", KERNEL=="scif", ACTION=="add", MODE="0666", RUN+="/bin/chmod a+rw /dev/mic/%k" SUBSYSTEM=="mic", KERNEL=="ctrl", ACTION=="add", MODE="0666", RUN+="/bin/chmod a+rw /dev/mic/%k"
Using RUN seems like some kind of hack to achieve this, but I don't know a better way.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page