[apparmor] [patch] fix perl modules file permissions

Steve Beattie steve at nxnw.org
Tue Sep 13 16:10:25 UTC 2011


On Tue, Sep 13, 2011 at 02:00:47PM +0200, Christian Boltz wrote:
> 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 ;-)

Looks good, thanks. Acked-By: Steve Beattie <sbeattie at ubuntu.com>

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110913/c8c5a8db/attachment.pgp>


More information about the AppArmor mailing list