martin f krafft <madd...@debian.org> writes: > I tend to agree. With that in mind, though, why would one ever want/need > to chmod/chown files under control by dpkg (which are the only ones for > which dpkg-statoverride applies to) *from postinst*? I can perfectly > understand admins wanting to override package defaults, but not why the > package maintainer needs to use dpkg-statoverride.
It's for setting the ownership of files to dynamically allocated UIDs or GIDs which are created in the postinst script. Since you don't know what UID or GID they'll have, and since they don't exist during the package unpack phase, there's no way to express that ownership in the *.deb file. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org