Setting Permissions and fakeroot
Explore how to properly set file permissions and ownership in Debian packages while using fakeroot to simulate root privileges during package building. Understand the role of dh_fixperms in securing package files and learn commands to inspect package permissions as a non-root user.
We'll cover the following...
We'll cover the following...
Setting permissions
Debian packages contain the installation data as tarballs, and
tar supports storing permissions, group, and ownership information. We
can set these properties for the final package by putting files
with the correct permissions and owner/group into the
debian/<package-name> ...
For example, if we want a ...