[apparmor] [patch] fix perl modules file permissions

Christian Boltz apparmor at cboltz.de
Tue Sep 13 12:00:47 UTC 2011


Hello,

perl modules don't need execute permissions.
This patch installs the perl modules with mode 644 instead of 755.

=== modified file 'utils/Makefile'
--- utils/Makefile      2011-05-27 19:08:50 +0000
+++ utils/Makefile      2011-09-13 11:58:17 +0000
@@ -56,7 +56,7 @@
        ln -sf aa-status ${BINDIR}/apparmor_status
        install -m 755 ${TOOLS} ${BINDIR}
        install -d ${PERLDIR}
-       install -m 755 ${MODULES} ${PERLDIR}
+       install -m 644 ${MODULES} ${PERLDIR}
        make -C po install DESTDIR=${DESTDIR} NAME=${NAME}
        make install_manpages DESTDIR=${DESTDIR}
        ln -sf aa-status.8 ${DESTDIR}/${MANDIR}/man8/apparmor_status.8

Credits go to rpmlint for noticing this ;-)


Regards,

Christian Boltz
-- 
> I've been told that better way how to find proces witch is using
> disk is:  echo 1 >/proc/sys/vm/block_dump ; dmesg
... but to avoid the risk or syslog running amok writing that syslog
writes that syslog writes ... , shut down syslog first ;)
[> Cyril Hrubis and Michal Marek in
https://bugzilla.novell.com/show_bug.cgi?id=220146]



More information about the AppArmor mailing list