#!/bin/bash
#You must run this script as root.
# alternatively you can change the ownership
# of the /proc/bus/usb and give 664 as permission

/etc/init.d/mountdevsubfs.sh start
chmod -R a+rw /proc/bus/usb/
# use the following line instead the line above
# if you don't want to give everyone the access
# to the usb devices. Make sure you have the group
# plugdev in the /etc/group and you are in the group.
# Otherwise use the group you belong to to replace plugdev


# chown -R root:plugdev /proc/bus/usb
# chmod -R 664 /proc/bus/usb
