[Bug 296218] sysutils/podman: upgrade to 5.8.3 & fix loss of setuid/setgid bits during bsd untar
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jun 2026 22:18:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296218
Bug ID: 296218
Summary: sysutils/podman: upgrade to 5.8.3 & fix loss of
setuid/setgid bits during bsd untar
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: dfr@FreeBSD.org
Reporter: ahze@ahze.net
Assignee: dfr@FreeBSD.org
Flags: maintainer-feedback?(dfr@FreeBSD.org)
Created attachment 272059
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272059&action=edit
update podman & fix setuid patch
BSD `handleLChmod` casts `os.FileMode` straight to `Fchmodat`, but setuid,
setgid & sticky live in `os.FileMode`'s high bits, not the chmod positions, so
the cast silently drops them and binaries like `ping` & `su` lose setuid on
unpack. Fix: map the bits via a `syscallMode()` helper.
This has been fixed upstream
https://github.com/podman-container-tools/container-libs/pull/935
while here, upgrade to 5.8.3.
--
You are receiving this mail because:
You are the assignee for the bug.