As OpenBSD packager for GNU tar, I was contacted by a user who ran
into a problem with 1.34: Accessing a remote device is now only
possible as superuser.  Otherwise, tar will error out with

initgroups: Operation not permitted

initgroups(3) is indeed limited to the superuser.  The initgroups()
call came in via changes to sys_reset_uid_gid():
https://git.savannah.gnu.org/cgit/paxutils.git/commit/lib/system.h?id=d247e3c2809a37b6d0c3067251d96bb7f12555e7

What does that even try to do?  Getting rid of running as set[ug]id?

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to