Bug#1009069: dpkg ignores --force-not-root in statoverride/main.c

2022-04-06 Thread Guillem Jover
Hi! On Wed, 2022-04-06 at 19:35:49 +, John Spencer wrote: > Package: dpkg > Version: 1.20.9 > Severity: important > Tags: patch > X-Debbugs-Cc: maillist-d...@barfooze.de > the code in statdb_node_apply, unlike all other functions trying to chown > a file, ignores --force-not-root, which

Bug#1009069: dpkg ignores --force-not-root in statoverride/main.c

2022-04-06 Thread John Spencer
Package: dpkg Version: 1.20.9 Severity: important Tags: patch X-Debbugs-Cc: maillist-d...@barfooze.de the code in statdb_node_apply, unlike all other functions trying to chown a file, ignores --force-not-root, which breaks usage in a non-root container. see attached patch to fix the issue (it