Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FAQ.md #697

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Update FAQ.md #697

merged 1 commit into from
Apr 6, 2021

Conversation

sibero80
Copy link
Contributor

@sibero80 sibero80 commented Apr 5, 2021

Proposing changes for alternate method of permanently giving users permissions over device.

I came to this method when used Node.js installation method, faced permission issues accessing device and tried the suggested method in the FAQ with no success.

Found this esp8266/source-code-examples#26 forum that provided the following approach:

Add user to the uucp , tty , dialout groups:

sudo usermod -a -G uucp $USER
sudo usermod -a -G tty $USER
sudo usermod -a -G dialout $USER

The particular group that would make it work depends on the type of serial connection and linux distribution.

I think this would be a more simple solution but just wanted to bring some light to this with the hopes that someone more knowledgeable could provide a more educated opinion.

Cheers!

Used Node.js installation method.
Faced permission issues accessing device.
Tried the suggested method in the FAQ with no success.

Found this esp8266/source-code-examples#26 forum that provided the following approach:

Add user to the `uucp ` ,  `tty `  ,  `dialout `   groups:
```
sudo usermod -a -G uucp $USER
sudo usermod -a -G tty $USER
sudo usermod -a -G dialout $USER
```

The particular group that would make it work depends on the type of serial connection and linux distribution.

I think this would be a more simple solution but just wanted to bring some light to this with the hopes that someone more knowledgeable could provide a more educated opinion.

Cheers!
@Koenkk
Copy link
Owner

Koenkk commented Apr 6, 2021

Thanks!

@Koenkk Koenkk merged commit f3d4101 into Koenkk:master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants