You could create a udev rule that will set the permissions and/or group each time the device is plugged in.
https://askubuntu.com/questions/15570/configure-udev-to-change-permissions-on-usb-hid-device On 2020-06-08 08:44, Pat Anderson wrote: > You are right that the device recreates itself every time it is > plugged in and the chmod is not persistent. However, I am a member of > the dialout group, and that does not give me the required permission > to access the /dev/ttyUSB0 device. I don't know why. So far, only the > chmod "trick" if you will works, and it is not difficult. > > On Mon, Jun 8, 2020 at 12:59 AM W Paul Mills <ac...@wpmills.com> > wrote: > >> While this will work, it is not really the right way to do it. It is >> >> also temporary. These devices recreate themselves every boot, or >> every >> time you reinsert a device. >> >> The right way is "sudo adduser user dialout" Substitue your user >> name >> for "user." On some systems the group may be different. >> >> Example: >> >> wpmills@suzanne1:~$ ls -l /dev/ttyUSB* >> crw-rw----+ 1 root dialout 188, 0 Jun 7 18:53 /dev/ttyUSB0 >> crw-rw----+ 1 root dialout 188, 1 Jun 8 02:49 /dev/ttyUSB1 >> wpmills@suzanne1:~$ >> >> wpmills@suzanne1:~$ sudo adduser wpmills dialout >> [sudo] password for wpmills: >> The user `wpmills' is already a member of `dialout'. >> wpmills@suzanne1:~$ >> >> On 6/7/20 7:14 PM, Peter via chirp_users wrote: >>> Hi all: >>> >>> I am not sure who came up with the brilliant tip of chmod 777 >>> /dev/ttyUSB0 as I have deleted the email suggesting that. >>> >>> So THANK YOU for that suggestion. I was getting frustrated trying >> to get >>> Chirp on Linux Mint 19.2 to up/download from my new (to me) Icom >> 2100H. >>> All I got was error messages that the radio had responded >>> inappropriately. Until I did the chmod thing. IT WORKED. >>> >>> So, thanks again. Now I can get going on the next step of a very >> long march. >>> >>> Peter, VE3BBN >>> >> >> -- >> /************************************************** >> * Amateur Radio Station AC0HY * >> * W. Paul Mills SN807 * >> * Assistant EC Alpha-1 ARES Shawnee/Wabaunsee, KS * >> * President Kaw Valley Amateur Radio Club * >> **************************************************/ >> >> _______________________________________________ >> chirp_users mailing list >> chirp_users@intrepid.danplanet.com >> http://intrepid.danplanet.com/mailman/listinfo/chirp_users >> This message was sent to Pat Anderson at anderson5...@gmail.com >> To unsubscribe, send an email to >> chirp_users-unsubscr...@intrepid.danplanet.com > _______________________________________________ > chirp_users mailing list > chirp_users@intrepid.danplanet.com > http://intrepid.danplanet.com/mailman/listinfo/chirp_users > This message was sent to Angus Ainslie at an...@akkea.ca > To unsubscribe, send an email to > chirp_users-unsubscr...@intrepid.danplanet.com _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to arch...@mail-archive.com at arch...@mail-archive.com To unsubscribe, send an email to chirp_users-unsubscr...@intrepid.danplanet.com