1 2 3 4 5 6
#!/bin/sh cd /etc/hotplug . hotplug.functions mesg setting permissions of $DEVICE chgrp users $DEVICE chmod g+w $DEVICE