mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-16 09:03:05 -05:00
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 <masashi.honma@gmail.com>
This commit is contained in:
parent
4ab0f11b80
commit
ede4f68e0a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user