Skip to content

Commit

Permalink
certctl: Set METALOG ownership to root:wheel when run unprivileged
Browse files Browse the repository at this point in the history
This sets the correct ownership values in when building base.txz

PR: 283340

Signed-off-by: Pat Maddox <[email protected]>
  • Loading branch information
patmaddox committed Dec 17, 2024
1 parent 07e5e60 commit 3a06988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.sbin/certctl/certctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ fi
: ${METALOG:=${DESTDIR}/METALOG}
INSTALLFLAGS=
if "$UNPRIV" ; then
INSTALLFLAGS="-U -M ${METALOG} -D ${DESTDIR}"
INSTALLFLAGS="-U -M ${METALOG} -D ${DESTDIR} -o root -g wheel"
fi
: ${LOCALBASE:=$(sysctl -n user.localbase)}
: ${TRUSTPATH:=${DESTDIR}${DISTBASE}/usr/share/certs/trusted:${DESTDIR}${LOCALBASE}/share/certs:${DESTDIR}${LOCALBASE}/etc/ssl/certs}
Expand Down

0 comments on commit 3a06988

Please sign in to comment.