How do I allow non-root access to /ttyUSB0 on 12.04? The 2019 Stack Overflow Developer Survey Results Are Inchown file changes back to root after rebootHow to connect/read/write to serial port without rootHow can I automatically launch GPSD on startup?Problem when using screen on /dev/ttyUSB0How to doubleclick a Java Jar and start it without sudoSend raw data to USB parallel port after upgrading to 11.10GPS-data logger does not communicate to computerRS-232-to-USB is not workingUdev rule is executed twice because Android Smartphone is mounted 2 timesWhy does serial device only work on one USB port?Ubuntu 14.04 and Huawei E173s - only storage modeUSB device not enumerated properly in Ubuntu 14.04 LTSwriting udev rule for USB devicePermission denied to non-root user for USB deviceMouse clicks caused by Arduino device

Is it a good practice to use a static variable in a Test Class and use that in the actual class instead of Test.isRunningTest()?

Ubuntu Server install with full GUI

Button changing its text & action. Good or terrible?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Why can't devices on different VLANs, but on the same subnet, communicate?

Likelihood that a superbug or lethal virus could come from a landfill

What is the most efficient way to store a numeric range?

What is this sharp, curved notch on my knife for?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

How to charge AirPods to keep battery healthy?

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Straighten subgroup lattice

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Getting crown tickets for Statue of Liberty

What do I do when my TA workload is more than expected?

Can there be female White Walkers?

Are there any other methods to apply to solving simultaneous equations?

How do I free up internal storage if I don't have any apps downloaded?

I am an eight letter word. What am I?



How do I allow non-root access to /ttyUSB0 on 12.04?



The 2019 Stack Overflow Developer Survey Results Are Inchown file changes back to root after rebootHow to connect/read/write to serial port without rootHow can I automatically launch GPSD on startup?Problem when using screen on /dev/ttyUSB0How to doubleclick a Java Jar and start it without sudoSend raw data to USB parallel port after upgrading to 11.10GPS-data logger does not communicate to computerRS-232-to-USB is not workingUdev rule is executed twice because Android Smartphone is mounted 2 timesWhy does serial device only work on one USB port?Ubuntu 14.04 and Huawei E173s - only storage modeUSB device not enumerated properly in Ubuntu 14.04 LTSwriting udev rule for USB devicePermission denied to non-root user for USB deviceMouse clicks caused by Arduino device



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








33















Since I updated from 10.04 to 12.04, I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a usb-to-serial com port converter to access and configure Cisco equipment with a software called Putty. It happens that, since I upgraded to 12.04, Putty only sees the connected device when I run it as gksudo putty. If not, it says "unable to connect to port /ttyUSB0". I have managed to change the permissions via chmod 666, and it works, but if I disconnect the usb and reconnect, it goes back to root only. How do I permanently allow non-root access? I have a clue it might be via udev rules, but I have no idea how to do it.



obs. Manufacturer and drivers "PROLIFIC"










share|improve this question






























    33















    Since I updated from 10.04 to 12.04, I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a usb-to-serial com port converter to access and configure Cisco equipment with a software called Putty. It happens that, since I upgraded to 12.04, Putty only sees the connected device when I run it as gksudo putty. If not, it says "unable to connect to port /ttyUSB0". I have managed to change the permissions via chmod 666, and it works, but if I disconnect the usb and reconnect, it goes back to root only. How do I permanently allow non-root access? I have a clue it might be via udev rules, but I have no idea how to do it.



    obs. Manufacturer and drivers "PROLIFIC"










    share|improve this question


























      33












      33








      33


      7






      Since I updated from 10.04 to 12.04, I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a usb-to-serial com port converter to access and configure Cisco equipment with a software called Putty. It happens that, since I upgraded to 12.04, Putty only sees the connected device when I run it as gksudo putty. If not, it says "unable to connect to port /ttyUSB0". I have managed to change the permissions via chmod 666, and it works, but if I disconnect the usb and reconnect, it goes back to root only. How do I permanently allow non-root access? I have a clue it might be via udev rules, but I have no idea how to do it.



      obs. Manufacturer and drivers "PROLIFIC"










      share|improve this question
















      Since I updated from 10.04 to 12.04, I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a usb-to-serial com port converter to access and configure Cisco equipment with a software called Putty. It happens that, since I upgraded to 12.04, Putty only sees the connected device when I run it as gksudo putty. If not, it says "unable to connect to port /ttyUSB0". I have managed to change the permissions via chmod 666, and it works, but if I disconnect the usb and reconnect, it goes back to root only. How do I permanently allow non-root access? I have a clue it might be via udev rules, but I have no idea how to do it.



      obs. Manufacturer and drivers "PROLIFIC"







      12.04 usb root






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 22 '16 at 20:04









      amc

      4,81462746




      4,81462746










      asked May 7 '12 at 14:18









      yurividalyurividal

      77121323




      77121323




















          9 Answers
          9






          active

          oldest

          votes


















          8














          It's possible this is related to modemmanager, as detailed here.



          I removed that (sudo apt-get remove modemmanager) and it fixed my problem.



          You still need to be in the dialout group though.






          share|improve this answer




















          • 1





            What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

            – Leonardo Montenegro
            Jul 19 '13 at 12:22











          • You can try by stopping it? sudo stop modemmanager It worked for me.

            – Aleks
            Aug 12 '14 at 9:19











          • Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

            – Stéphane
            Nov 6 '17 at 3:29


















          87














          The device is most likely attached to user group dialout. Just add your user to the dialout group so you have appropriate permissions on the device.



          sudo usermod -a -G dialout $USER


          (You may need to logout and back in for the new group to take effect.)



          No need to mess around with permissions or udev rules.






          share|improve this answer

























          • no success... still no acces to ttyUSB0 without root... any other ideas???

            – yurividal
            May 11 '12 at 16:16






          • 2





            I sign in to upvote. The cleanest solution.

            – 0x5f3759df
            Apr 10 '13 at 10:15






          • 1





            @tom-hennen I guess you should add it first as a comment rather than edit it directly.

            – MadMike
            Oct 29 '14 at 13:33






          • 2





            This doesn't work for Debian

            – Mike
            May 16 '15 at 16:51






          • 1





            Kudos for including "may need to logout and back in".

            – Rob Stoecklein
            Jul 26 '18 at 13:57


















          7














          sudo adduser <the user you want to add> dialout
          sudo reboot


          Mentioned by "Try now" worked for me. Check that You have dialout as group for ttyUSB0:



          ls -l /dev/ttyUSB0


          in my case the output is:



          crw-rw---T 1 root dialout 188, 0 Feb 12 12:01 /dev/ttyUSB0





          share|improve this answer

























          • in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

            – flyingdrifter
            Dec 8 '16 at 22:56


















          2














          This worked for me. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.



          sudo adduser <the user you want to add> dialout
          sudo reboot
          id -Gn


          Try now.






          share|improve this answer
































            1














            As reported by Rinzwind, start by typing:



            sudo usermod -a -G dialout $USER


            But that is only part of the solution, as then you must reboot the system:



            sudo reboot





            share|improve this answer




















            • 5





              1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

              – gertvdijk
              Sep 11 '14 at 12:07


















            1














            I tried both



            sudo usermod -a -G dialout $USER #(worked perfectly)


            And sudo chmod 666 /dev/ttyUSB0 (worked but had to type the command again)



            I also removed the mode manager but did not really help.
            Therefore, the best command that worked for me was



            sudo usermod -a -G dialout $USER





            share|improve this answer
































              0














              On Ubuntu 18.04 I had to add myself to the tty group.



              I got hinted by the minicom command output:



              minicom /dev/ttyUSB0
              minicom: cannot open /dev/tty8: Permission denied


              ls -la /dev/tty8
              crw--w---- 1 root tty 4, 8 juil. 31 08:27 /dev/tty





              share|improve this answer






























                -1














                I had this problem with /dev/ttyS0 in Mint Rosa. Adding the user to the dialout group is required but in my case the device access was restricted and I had to expand it to give r/w access to group level also.






                share|improve this answer


















                • 1





                  Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                  – David Foerster
                  Sep 4 '16 at 18:42


















                -4














                navigate to /etc/ folder and edit the group file
                add your username like this dialout:x:20:USER



                worked perfect for me :)






                share|improve this answer




















                • 4





                  It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                  – flickerfly
                  Apr 10 '15 at 20:49









                protected by Community Apr 10 '18 at 17:38



                Thank you for your interest in this question.
                Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                Would you like to answer one of these unanswered questions instead?














                9 Answers
                9






                active

                oldest

                votes








                9 Answers
                9






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                8














                It's possible this is related to modemmanager, as detailed here.



                I removed that (sudo apt-get remove modemmanager) and it fixed my problem.



                You still need to be in the dialout group though.






                share|improve this answer




















                • 1





                  What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

                  – Leonardo Montenegro
                  Jul 19 '13 at 12:22











                • You can try by stopping it? sudo stop modemmanager It worked for me.

                  – Aleks
                  Aug 12 '14 at 9:19











                • Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

                  – Stéphane
                  Nov 6 '17 at 3:29















                8














                It's possible this is related to modemmanager, as detailed here.



                I removed that (sudo apt-get remove modemmanager) and it fixed my problem.



                You still need to be in the dialout group though.






                share|improve this answer




















                • 1





                  What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

                  – Leonardo Montenegro
                  Jul 19 '13 at 12:22











                • You can try by stopping it? sudo stop modemmanager It worked for me.

                  – Aleks
                  Aug 12 '14 at 9:19











                • Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

                  – Stéphane
                  Nov 6 '17 at 3:29













                8












                8








                8







                It's possible this is related to modemmanager, as detailed here.



                I removed that (sudo apt-get remove modemmanager) and it fixed my problem.



                You still need to be in the dialout group though.






                share|improve this answer















                It's possible this is related to modemmanager, as detailed here.



                I removed that (sudo apt-get remove modemmanager) and it fixed my problem.



                You still need to be in the dialout group though.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 25 '12 at 3:02









                Eliah Kagan

                83.3k22229369




                83.3k22229369










                answered Jun 24 '12 at 12:26









                Ed.Ed.

                961




                961







                • 1





                  What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

                  – Leonardo Montenegro
                  Jul 19 '13 at 12:22











                • You can try by stopping it? sudo stop modemmanager It worked for me.

                  – Aleks
                  Aug 12 '14 at 9:19











                • Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

                  – Stéphane
                  Nov 6 '17 at 3:29












                • 1





                  What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

                  – Leonardo Montenegro
                  Jul 19 '13 at 12:22











                • You can try by stopping it? sudo stop modemmanager It worked for me.

                  – Aleks
                  Aug 12 '14 at 9:19











                • Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

                  – Stéphane
                  Nov 6 '17 at 3:29







                1




                1





                What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

                – Leonardo Montenegro
                Jul 19 '13 at 12:22





                What if I can't remove modemmanager? I have a friend that has a 3G modem, and it seems he can't remove modemmanager because of that. How can he access /ttyUSB0 on 12.04 without root, but without removing modemmanager?

                – Leonardo Montenegro
                Jul 19 '13 at 12:22













                You can try by stopping it? sudo stop modemmanager It worked for me.

                – Aleks
                Aug 12 '14 at 9:19





                You can try by stopping it? sudo stop modemmanager It worked for me.

                – Aleks
                Aug 12 '14 at 9:19













                Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

                – Stéphane
                Nov 6 '17 at 3:29





                Been a few years, but this is still the case in Ubuntu 17.10. Had to do a sudo apt-get purge modemmanager before sudo usermod -a -G dialout $USER had the desired effect.

                – Stéphane
                Nov 6 '17 at 3:29













                87














                The device is most likely attached to user group dialout. Just add your user to the dialout group so you have appropriate permissions on the device.



                sudo usermod -a -G dialout $USER


                (You may need to logout and back in for the new group to take effect.)



                No need to mess around with permissions or udev rules.






                share|improve this answer

























                • no success... still no acces to ttyUSB0 without root... any other ideas???

                  – yurividal
                  May 11 '12 at 16:16






                • 2





                  I sign in to upvote. The cleanest solution.

                  – 0x5f3759df
                  Apr 10 '13 at 10:15






                • 1





                  @tom-hennen I guess you should add it first as a comment rather than edit it directly.

                  – MadMike
                  Oct 29 '14 at 13:33






                • 2





                  This doesn't work for Debian

                  – Mike
                  May 16 '15 at 16:51






                • 1





                  Kudos for including "may need to logout and back in".

                  – Rob Stoecklein
                  Jul 26 '18 at 13:57















                87














                The device is most likely attached to user group dialout. Just add your user to the dialout group so you have appropriate permissions on the device.



                sudo usermod -a -G dialout $USER


                (You may need to logout and back in for the new group to take effect.)



                No need to mess around with permissions or udev rules.






                share|improve this answer

























                • no success... still no acces to ttyUSB0 without root... any other ideas???

                  – yurividal
                  May 11 '12 at 16:16






                • 2





                  I sign in to upvote. The cleanest solution.

                  – 0x5f3759df
                  Apr 10 '13 at 10:15






                • 1





                  @tom-hennen I guess you should add it first as a comment rather than edit it directly.

                  – MadMike
                  Oct 29 '14 at 13:33






                • 2





                  This doesn't work for Debian

                  – Mike
                  May 16 '15 at 16:51






                • 1





                  Kudos for including "may need to logout and back in".

                  – Rob Stoecklein
                  Jul 26 '18 at 13:57













                87












                87








                87







                The device is most likely attached to user group dialout. Just add your user to the dialout group so you have appropriate permissions on the device.



                sudo usermod -a -G dialout $USER


                (You may need to logout and back in for the new group to take effect.)



                No need to mess around with permissions or udev rules.






                share|improve this answer















                The device is most likely attached to user group dialout. Just add your user to the dialout group so you have appropriate permissions on the device.



                sudo usermod -a -G dialout $USER


                (You may need to logout and back in for the new group to take effect.)



                No need to mess around with permissions or udev rules.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Oct 29 '14 at 13:43









                Tom Hennen

                14516




                14516










                answered May 7 '12 at 14:32









                RinzwindRinzwind

                210k28404538




                210k28404538












                • no success... still no acces to ttyUSB0 without root... any other ideas???

                  – yurividal
                  May 11 '12 at 16:16






                • 2





                  I sign in to upvote. The cleanest solution.

                  – 0x5f3759df
                  Apr 10 '13 at 10:15






                • 1





                  @tom-hennen I guess you should add it first as a comment rather than edit it directly.

                  – MadMike
                  Oct 29 '14 at 13:33






                • 2





                  This doesn't work for Debian

                  – Mike
                  May 16 '15 at 16:51






                • 1





                  Kudos for including "may need to logout and back in".

                  – Rob Stoecklein
                  Jul 26 '18 at 13:57

















                • no success... still no acces to ttyUSB0 without root... any other ideas???

                  – yurividal
                  May 11 '12 at 16:16






                • 2





                  I sign in to upvote. The cleanest solution.

                  – 0x5f3759df
                  Apr 10 '13 at 10:15






                • 1





                  @tom-hennen I guess you should add it first as a comment rather than edit it directly.

                  – MadMike
                  Oct 29 '14 at 13:33






                • 2





                  This doesn't work for Debian

                  – Mike
                  May 16 '15 at 16:51






                • 1





                  Kudos for including "may need to logout and back in".

                  – Rob Stoecklein
                  Jul 26 '18 at 13:57
















                no success... still no acces to ttyUSB0 without root... any other ideas???

                – yurividal
                May 11 '12 at 16:16





                no success... still no acces to ttyUSB0 without root... any other ideas???

                – yurividal
                May 11 '12 at 16:16




                2




                2





                I sign in to upvote. The cleanest solution.

                – 0x5f3759df
                Apr 10 '13 at 10:15





                I sign in to upvote. The cleanest solution.

                – 0x5f3759df
                Apr 10 '13 at 10:15




                1




                1





                @tom-hennen I guess you should add it first as a comment rather than edit it directly.

                – MadMike
                Oct 29 '14 at 13:33





                @tom-hennen I guess you should add it first as a comment rather than edit it directly.

                – MadMike
                Oct 29 '14 at 13:33




                2




                2





                This doesn't work for Debian

                – Mike
                May 16 '15 at 16:51





                This doesn't work for Debian

                – Mike
                May 16 '15 at 16:51




                1




                1





                Kudos for including "may need to logout and back in".

                – Rob Stoecklein
                Jul 26 '18 at 13:57





                Kudos for including "may need to logout and back in".

                – Rob Stoecklein
                Jul 26 '18 at 13:57











                7














                sudo adduser <the user you want to add> dialout
                sudo reboot


                Mentioned by "Try now" worked for me. Check that You have dialout as group for ttyUSB0:



                ls -l /dev/ttyUSB0


                in my case the output is:



                crw-rw---T 1 root dialout 188, 0 Feb 12 12:01 /dev/ttyUSB0





                share|improve this answer

























                • in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

                  – flyingdrifter
                  Dec 8 '16 at 22:56















                7














                sudo adduser <the user you want to add> dialout
                sudo reboot


                Mentioned by "Try now" worked for me. Check that You have dialout as group for ttyUSB0:



                ls -l /dev/ttyUSB0


                in my case the output is:



                crw-rw---T 1 root dialout 188, 0 Feb 12 12:01 /dev/ttyUSB0





                share|improve this answer

























                • in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

                  – flyingdrifter
                  Dec 8 '16 at 22:56













                7












                7








                7







                sudo adduser <the user you want to add> dialout
                sudo reboot


                Mentioned by "Try now" worked for me. Check that You have dialout as group for ttyUSB0:



                ls -l /dev/ttyUSB0


                in my case the output is:



                crw-rw---T 1 root dialout 188, 0 Feb 12 12:01 /dev/ttyUSB0





                share|improve this answer















                sudo adduser <the user you want to add> dialout
                sudo reboot


                Mentioned by "Try now" worked for me. Check that You have dialout as group for ttyUSB0:



                ls -l /dev/ttyUSB0


                in my case the output is:



                crw-rw---T 1 root dialout 188, 0 Feb 12 12:01 /dev/ttyUSB0






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 12 '13 at 11:10









                Aditya

                9,468125589




                9,468125589










                answered Feb 12 '13 at 10:25









                user130451user130451

                7911




                7911












                • in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

                  – flyingdrifter
                  Dec 8 '16 at 22:56

















                • in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

                  – flyingdrifter
                  Dec 8 '16 at 22:56
















                in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

                – flyingdrifter
                Dec 8 '16 at 22:56





                in Linux Mint 18 Cinnamon I get this error when calling ' ls -l /dev/ttyUSB0 ' ls: cannot access '/dev/ttyUSB0': No such file or directory

                – flyingdrifter
                Dec 8 '16 at 22:56











                2














                This worked for me. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.



                sudo adduser <the user you want to add> dialout
                sudo reboot
                id -Gn


                Try now.






                share|improve this answer





























                  2














                  This worked for me. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.



                  sudo adduser <the user you want to add> dialout
                  sudo reboot
                  id -Gn


                  Try now.






                  share|improve this answer



























                    2












                    2








                    2







                    This worked for me. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.



                    sudo adduser <the user you want to add> dialout
                    sudo reboot
                    id -Gn


                    Try now.






                    share|improve this answer















                    This worked for me. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.



                    sudo adduser <the user you want to add> dialout
                    sudo reboot
                    id -Gn


                    Try now.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Sep 11 '12 at 5:40









                    Mitch

                    85.7k14174232




                    85.7k14174232










                    answered Sep 10 '12 at 16:16









                    user88742user88742

                    211




                    211





















                        1














                        As reported by Rinzwind, start by typing:



                        sudo usermod -a -G dialout $USER


                        But that is only part of the solution, as then you must reboot the system:



                        sudo reboot





                        share|improve this answer




















                        • 5





                          1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

                          – gertvdijk
                          Sep 11 '14 at 12:07















                        1














                        As reported by Rinzwind, start by typing:



                        sudo usermod -a -G dialout $USER


                        But that is only part of the solution, as then you must reboot the system:



                        sudo reboot





                        share|improve this answer




















                        • 5





                          1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

                          – gertvdijk
                          Sep 11 '14 at 12:07













                        1












                        1








                        1







                        As reported by Rinzwind, start by typing:



                        sudo usermod -a -G dialout $USER


                        But that is only part of the solution, as then you must reboot the system:



                        sudo reboot





                        share|improve this answer















                        As reported by Rinzwind, start by typing:



                        sudo usermod -a -G dialout $USER


                        But that is only part of the solution, as then you must reboot the system:



                        sudo reboot






                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Apr 13 '17 at 12:24









                        Community

                        1




                        1










                        answered Sep 11 '14 at 11:55









                        lbozlboz

                        111




                        111







                        • 5





                          1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

                          – gertvdijk
                          Sep 11 '14 at 12:07












                        • 5





                          1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

                          – gertvdijk
                          Sep 11 '14 at 12:07







                        5




                        5





                        1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

                        – gertvdijk
                        Sep 11 '14 at 12:07





                        1) Please don't post comments as answers. 2) No need to reboot; just log out and log back in.

                        – gertvdijk
                        Sep 11 '14 at 12:07











                        1














                        I tried both



                        sudo usermod -a -G dialout $USER #(worked perfectly)


                        And sudo chmod 666 /dev/ttyUSB0 (worked but had to type the command again)



                        I also removed the mode manager but did not really help.
                        Therefore, the best command that worked for me was



                        sudo usermod -a -G dialout $USER





                        share|improve this answer





























                          1














                          I tried both



                          sudo usermod -a -G dialout $USER #(worked perfectly)


                          And sudo chmod 666 /dev/ttyUSB0 (worked but had to type the command again)



                          I also removed the mode manager but did not really help.
                          Therefore, the best command that worked for me was



                          sudo usermod -a -G dialout $USER





                          share|improve this answer



























                            1












                            1








                            1







                            I tried both



                            sudo usermod -a -G dialout $USER #(worked perfectly)


                            And sudo chmod 666 /dev/ttyUSB0 (worked but had to type the command again)



                            I also removed the mode manager but did not really help.
                            Therefore, the best command that worked for me was



                            sudo usermod -a -G dialout $USER





                            share|improve this answer















                            I tried both



                            sudo usermod -a -G dialout $USER #(worked perfectly)


                            And sudo chmod 666 /dev/ttyUSB0 (worked but had to type the command again)



                            I also removed the mode manager but did not really help.
                            Therefore, the best command that worked for me was



                            sudo usermod -a -G dialout $USER






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Oct 9 '14 at 10:17









                            αғsнιη

                            25k23100162




                            25k23100162










                            answered Oct 9 '14 at 8:45









                            Salah AmeanSalah Amean

                            111




                            111





















                                0














                                On Ubuntu 18.04 I had to add myself to the tty group.



                                I got hinted by the minicom command output:



                                minicom /dev/ttyUSB0
                                minicom: cannot open /dev/tty8: Permission denied


                                ls -la /dev/tty8
                                crw--w---- 1 root tty 4, 8 juil. 31 08:27 /dev/tty





                                share|improve this answer



























                                  0














                                  On Ubuntu 18.04 I had to add myself to the tty group.



                                  I got hinted by the minicom command output:



                                  minicom /dev/ttyUSB0
                                  minicom: cannot open /dev/tty8: Permission denied


                                  ls -la /dev/tty8
                                  crw--w---- 1 root tty 4, 8 juil. 31 08:27 /dev/tty





                                  share|improve this answer

























                                    0












                                    0








                                    0







                                    On Ubuntu 18.04 I had to add myself to the tty group.



                                    I got hinted by the minicom command output:



                                    minicom /dev/ttyUSB0
                                    minicom: cannot open /dev/tty8: Permission denied


                                    ls -la /dev/tty8
                                    crw--w---- 1 root tty 4, 8 juil. 31 08:27 /dev/tty





                                    share|improve this answer













                                    On Ubuntu 18.04 I had to add myself to the tty group.



                                    I got hinted by the minicom command output:



                                    minicom /dev/ttyUSB0
                                    minicom: cannot open /dev/tty8: Permission denied


                                    ls -la /dev/tty8
                                    crw--w---- 1 root tty 4, 8 juil. 31 08:27 /dev/tty






                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Jul 30 '18 at 21:54









                                    LaurentLaurent

                                    2131215




                                    2131215





















                                        -1














                                        I had this problem with /dev/ttyS0 in Mint Rosa. Adding the user to the dialout group is required but in my case the device access was restricted and I had to expand it to give r/w access to group level also.






                                        share|improve this answer


















                                        • 1





                                          Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                                          – David Foerster
                                          Sep 4 '16 at 18:42















                                        -1














                                        I had this problem with /dev/ttyS0 in Mint Rosa. Adding the user to the dialout group is required but in my case the device access was restricted and I had to expand it to give r/w access to group level also.






                                        share|improve this answer


















                                        • 1





                                          Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                                          – David Foerster
                                          Sep 4 '16 at 18:42













                                        -1












                                        -1








                                        -1







                                        I had this problem with /dev/ttyS0 in Mint Rosa. Adding the user to the dialout group is required but in my case the device access was restricted and I had to expand it to give r/w access to group level also.






                                        share|improve this answer













                                        I had this problem with /dev/ttyS0 in Mint Rosa. Adding the user to the dialout group is required but in my case the device access was restricted and I had to expand it to give r/w access to group level also.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Sep 4 '16 at 18:16









                                        LesALesA

                                        1




                                        1







                                        • 1





                                          Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                                          – David Foerster
                                          Sep 4 '16 at 18:42












                                        • 1





                                          Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                                          – David Foerster
                                          Sep 4 '16 at 18:42







                                        1




                                        1





                                        Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                                        – David Foerster
                                        Sep 4 '16 at 18:42





                                        Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

                                        – David Foerster
                                        Sep 4 '16 at 18:42











                                        -4














                                        navigate to /etc/ folder and edit the group file
                                        add your username like this dialout:x:20:USER



                                        worked perfect for me :)






                                        share|improve this answer




















                                        • 4





                                          It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                                          – flickerfly
                                          Apr 10 '15 at 20:49















                                        -4














                                        navigate to /etc/ folder and edit the group file
                                        add your username like this dialout:x:20:USER



                                        worked perfect for me :)






                                        share|improve this answer




















                                        • 4





                                          It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                                          – flickerfly
                                          Apr 10 '15 at 20:49













                                        -4












                                        -4








                                        -4







                                        navigate to /etc/ folder and edit the group file
                                        add your username like this dialout:x:20:USER



                                        worked perfect for me :)






                                        share|improve this answer















                                        navigate to /etc/ folder and edit the group file
                                        add your username like this dialout:x:20:USER



                                        worked perfect for me :)







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Jan 16 '14 at 23:30









                                        chaos

                                        19.8k85968




                                        19.8k85968










                                        answered Jan 16 '14 at 22:57









                                        BaneBane

                                        1




                                        1







                                        • 4





                                          It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                                          – flickerfly
                                          Apr 10 '15 at 20:49












                                        • 4





                                          It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                                          – flickerfly
                                          Apr 10 '15 at 20:49







                                        4




                                        4





                                        It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                                        – flickerfly
                                        Apr 10 '15 at 20:49





                                        It is generally considered bad practice to edit these files directly as some simple mistakes can cause loss of access.

                                        – flickerfly
                                        Apr 10 '15 at 20:49





                                        protected by Community Apr 10 '18 at 17:38



                                        Thank you for your interest in this question.
                                        Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                        Would you like to answer one of these unanswered questions instead?



                                        Popular posts from this blog

                                        Tamil (spriik) Luke uk diar | Nawigatjuun

                                        Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                                        Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?