pax_global_header 52 comment=4236f680064e2853813824234feb54326fb46c84 ufr-linux-usb_permission_script-master/ 0000775 0000000 0000000 00000000000 13502664366 0020736 5 ustar 00root root 0000000 0000000 ufr-linux-usb_permission_script-master/uFCoder1x.sh 0000664 0000000 0000000 00000001401 13502664366 0023066 0 ustar 00root root 0000000 0000000 #!/bin/bash if [ "$(id -u)" = "0" ]; then rm "/etc/modprobe.d/ftdi.conf" touch "/etc/modprobe.d/ftdi.conf" echo "blacklist ftdi_sio" >> "/etc/modprobe.d/ftdi.conf" echo "blacklist usbserial" >> "/etc/modprobe.d/ftdi.conf" echo "-------------------------------------------------------------------------" echo "Added \"ftdi_conf\" blacklist file to /etc/modprobe.d/ " echo "-------------------------------------------------------------------------" GROUPADD="usb_access" groupadd $GROUPADD echo -n "Enter an existing user :" read ADDUSER adduser $ADDUSER $GROUPADD exit 1 else echo "You Need To Be Root!" fi exec sudo "$0" "$@" # enters root mode, resets script and adds permissions and ftdi.confssss exit 1