Colin Guthrie wrote on 01/09/2021 14:40:
Colin Guthrie wrote on 01/09/2021 14:30:
rpm -qa | xargs rpm --setugids >/dev/null 2>&1
Correction: --restore is actually needed over --setugids as although
only the latter is strictly needed, it seems without the former the
setuid bits on e.g.
Colin Guthrie wrote on 01/09/2021 14:30:
rpm -qa | xargs rpm --setugids >/dev/null 2>&1
Correction: --restore is actually needed over --setugids as although
only the latter is strictly needed, it seems without the former the
setuid bits on e.g. /usr/bin/su etc are also reset, so --restore
Hi,
So I didn't appreciate this before, but it seems a long standing RPM
issue where, when using --root the packages will be installed with the
uid/gid mappings from the host machine rather than the passwd/group
files from the root.
This makes for a problem using mkosi as it doesn't make