mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Try adding node to group root
https://github.com/alexbelgium/hassio-addons/issues/1450
This commit is contained in:
@@ -17,7 +17,7 @@ chown -R "$USER:$USER" "/home/$USER/.signalk"
|
||||
# Define permissions for /dev/ttyUSB
|
||||
for device in /dev/ttyUSB /dev/ttyUSB0 /dev/ttyUSB1; do
|
||||
if [ -e "$device" ]; then
|
||||
usermod -a -G "$(stat -c "%G" "$device")" $USER
|
||||
sudo usermod -a -G root node || true
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user