Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My serial port is located at /dev/ttyUSB0, and every time I want to access it after waking up my computer or starting it (Ubuntu 12.04), I have to run sudo chmod 777 /dev/ttyUSB0 to grant myself access to the serial port.

Is there any way to give myself access to it by default? This is getting very annoying. Thanks.

share|improve this question
add comment

1 Answer

I believe that all /dev/tty* are owned by root.tty, so you could add yourself to the tty group.

share|improve this answer
    
Do you have any more instruction on how to do that? Thanks! –  capcom Oct 22 '12 at 13:15
    
@capcom sudo adduser <user> tty will add <user> to the group tty. –  Darth Android Oct 22 '12 at 14:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.