This assert was intended to catch a hypothetical case where getgrouplist() didn't actually update the gtemp vector. The default value is 0, so an error here would erroneously report membership in group zero (aka. group 'root'). However, I clearly didn't think the whole process through.
@georgweiss Reports a failure when running as root.
https://github.com/epics-base/pvAccessCPP/blob/24e83daaba1c7b3618b355b4f4dc37ab79414a74/src/utils/getgroups.cpp#L117
This assert was intended to catch a hypothetical case where getgrouplist() didn't actually update the
gtemp
vector. The default value is 0, so an error here would erroneously report membership in group zero (aka. group 'root'). However, I clearly didn't think the whole process through.