• intrigeri's avatar
    Install pam_apparmor.so with write permission for its owner. · 6ab19ea8
    intrigeri authored
    I could not find the reason why the upstream Makefile has been installing it
    with permissions 555: this predates the migration from SVN.
    Regardless, at least on Debian and derivatives, dh_fixperms has been
    changing these permissions to 755 forever so it was causing problems,
    likely we would know about it by now.
    The initial motivation for this change is supporting rootless builds on Debian
    and derivatives, also known as "Rules-Requires-Root:  no":
     - /usr/share/doc/dpkg-dev/rootless-builds.txt* on a Debian system
       with a sufficiently recent dpkg-dev installed
     - https://nthykier.wordpress.com/2017/10/29/building-packages-without-fakeroot/
     - https://lists.debian.org/debian-devel/2017/10/msg00520.html
    With this change applied upstream, Debian-based downstreams don't need to adjust
    their debian/rules to make this work with "Rules-Requires-Root: no":
    	chrpath -d $(CURDIR)/debian/tmp/lib/security/pam_apparmor.so
Last commit
Last update
COPYING Loading commit data...
Makefile Loading commit data...
README Loading commit data...
get_options.c Loading commit data...
pam_apparmor.c Loading commit data...
pam_apparmor.changes Loading commit data...
pam_apparmor.h Loading commit data...