bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

1.34: Accessing remote device now requires root?


From: Christian Weisgerber
Subject: 1.34: Accessing remote device now requires root?
Date: Tue, 4 Apr 2023 22:50:53 +0200

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                          naddy@mips.inka.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]