Sublime Forum

Wrong file ownership in linux deb package (should be root:root)

#1

The contents of the deb package, which get installed under /opt and /usr/share, are owned by the wrong uid and gid. They should be root:root but are actually 501:20.

This is because the contents of data.tar.xz are owned by jskinner:staff and this is preserved when apt untars the archive as root.

The rpm version etc may also have a similar problem, I’m not sure.

Thanks

0 Likes