diff --git a/lgsm/functions/check_permissions.sh b/lgsm/functions/check_permissions.sh index 10f9ce701..0f2220880 100644 --- a/lgsm/functions/check_permissions.sh +++ b/lgsm/functions/check_permissions.sh @@ -170,7 +170,7 @@ fn_sys_perm_errors_fix(){ sudo chmod a+rx "/sys/class" fi if [ "${netdirpermerror}" == "1" ]; then - sudo a+rx "/sys/class/net" + sudo chmod a+rx "/sys/class/net" fi # Run check again to see if it's fixed fn_sys_perm_errors_detect