From 55c62b4e10faea5d79f7bb926ff74c9f1ca9d03f Mon Sep 17 00:00:00 2001 From: dongheng Date: Tue, 15 Oct 2019 14:03:31 +0800 Subject: [PATCH] docs(get-started): change ttyUSB use authority --- docs/en/get-started/linux-setup.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/en/get-started/linux-setup.rst b/docs/en/get-started/linux-setup.rst index 66a922d7..c4c27dbd 100644 --- a/docs/en/get-started/linux-setup.rst +++ b/docs/en/get-started/linux-setup.rst @@ -74,6 +74,14 @@ Permission issues /dev/ttyUSB0 With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the ESP8266. +If this happens you may need to add your current user to the correct group (commonly "dialout") which has the appropriate permissions:: + + sudo usermod -a -G dialout $USER + +In addition, you can also use "sudo chmod" to set permissions on the "/dev/ttyUSB0" file before running the make command to resolve:: + + sudo chmod -R 777 /dev/ttyUSB0 + Next Steps ==========