From ede4f68e0a5e398aa1773cbfab651083ee7dfa5c Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Sun, 31 Dec 2017 05:35:28 +0900 Subject: [PATCH] tests: Fix Permission denied on Fedora On Fedora 26, start.sh fails with these error messages. Failed to connect to wpa_supplicant global interface: /tmp/wpas-wlan0 error: Permission denied Failed to connect to wpa_supplicant global interface: /tmp/wpas-wlan0 error: Permission denied ... This is because Fedora 26 uses "wheel" group as administrative group. Signed-off-by: Masashi Honma --- tests/hwsim/start.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh index fe4621273..527ee22ed 100755 --- a/tests/hwsim/start.sh +++ b/tests/hwsim/start.sh @@ -58,6 +58,8 @@ fi if groups | tr ' ' "\n" | grep -q ^admin$; then GROUP=admin +elif groups | tr ' ' "\n" | grep -q ^wheel$; then + GROUP=wheel else GROUP=adm fi