You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously for linux users it was not known (in general/documentation) how to start proxy without running sudo (or with root privileges). This is annoying at best and also makes automation scripts difficult. This issue ticket is to be used to explain how to open proxy connections to Faraday units without root privileges.
Problem Explanation
The user account running the proxy program must be added to the dialout group. Doing so will allow the user to open proxy and connect to a unit without the "permission denied" error.
This information should:
Be included in documentation
Be stated in relevant scripts/programs opening proxy to allow easier debugging.
Environment
Software
Faraday
Master
Linux
Ubuntu 16.04 LTS
Hardware
N/A
Supporting Information
Running the following command in terminal will open a new terminal window running faraday-proxy:
If the user is not in the dialout user group this will fail to connect stating 'Permission Denied'. The user is left to either use sudo every time proxy is to be run or add their user name to the linux dialout group.
Simply adding the user to the dialout group and logging out and back in will solve the problem.
We should probably document this better with #270 as well. I definitely ran into this + some. I also noticed on the latest Raspbian I had to install as sudo too or else no command line arguments would be installed :/
Summary
Previously for linux users it was not known (in general/documentation) how to start proxy without running sudo (or with root privileges). This is annoying at best and also makes automation scripts difficult. This issue ticket is to be used to explain how to open proxy connections to Faraday units without root privileges.
Problem Explanation
The user account running the proxy program must be added to the
dialout
group. Doing so will allow the user to open proxy and connect to a unit without the "permission denied" error.This information should:
Environment
Software
Hardware
N/A
Supporting Information
Running the following command in terminal will open a new terminal window running faraday-proxy:
gnome-terminal -x faraday-proxy --number 1 --start
If the user is not in the dialout user group this will fail to connect stating 'Permission Denied'. The user is left to either use sudo every time proxy is to be run or add their user name to the linux
dialout
group.Simply adding the user to the
dialout
group and logging out and back in will solve the problem.sudo usermod -a -G dialout $USER
References
The text was updated successfully, but these errors were encountered: