On Friday 01 January 2016 12:01:25 EBo wrote: > On Jan 1 2016 9:21 AM, Gene Heskett wrote: > > On Friday 01 January 2016 10:21:42 EBo wrote: > >> Various distros are a little different, but there is usally > >> something > >> like a plugdev or usb group. If you add you user to that you might > >> get around the problem. > >> > >> On Jan 1 2016 3:13 AM, Gene Heskett wrote: > >> > Greetings all; > >> > > >> > This is essentially unrelated to LinuxCNC, but I believe is > >> > >> related > >> > >> > to > >> > the install. > >> > > >> > I have a cron job that uploads the next years schedule for the > >> > >> front > >> > >> > decks evening lights on Jan 1 of every year. I got an email > >> > advising me > >> > it couldn't access /dev/ttyUSB0 and that I should check > >> > >> permissions. > >> > >> > Looking at it, root:root was the owner/group. So I became root > >> > >> and > >> > >> > chowned it to me:me, and everything heyu related works once > >> > again. > >> > > >> > This had worked perfectly with whatever the defaults were, and > >> > did so 2 > >> > or 3 times because I wanted to turn them off early, since the > >> > last reboot 9+ days ago, so the only thing changed that sticks > >> > out like > >> > >> a > >> > >> > sore thumb is the year. > >> > > >> > Does anyone have a clue, or should I just put the fix into > >> > /etc/rd.local? > >> > > >> > Cheers, Gene Heskett > > > > Both me and heyu were members of group tty already. I just added us > > to > > plugdev too so we'll see after the next reboot. Thanks Ebo. > > Let me know if that works. What I was also trying to imply is that > you might need to look at the docs for your distro and see if there is > anything specific that needs to be done. Fortunately/Unfortunately, > as soon as I fix this problem (which each install/new-user, I promptly > forget what I put in the magic sauce... > EBo; & anybody else with a problem that walks like this duck:
I finally said to hell with it and added these lines to my /etc/rc.local file. =============================== # Now, udev is being a cast iron bitch, so lets see if we can outwit udev # and make heyu work. chmod 0755 /dev/ttyUSB0 chown gene:gene /dev/ttyUSB0 =============================== And its worked a treat for 2 reboots now. And what udev thinks it has done 10 seconds earlier is moot. It is after all, _MY_ machine and should do what _I_ want. > ---------------------------------------------------------------------- >-------- _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
