3
# This file was installed by the libhid Debian package.
5
# This script changes the permissions and ownership of a USB device under
6
# /proc/bus/usb to grant access to this device to users in the nut group.
8
# Ownership is set to root.nut, permissions are set to 0660.
13
# DEVICE=/proc/bus/usb/BBB/DDD
16
if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
17
chown root:@RUN_AS_USER@ "$DEVICE"