[apparmor] [patch] UsrMove /bin/ls -> /usr/bin/ls

John Johansen john.johansen at canonical.com
Sun Aug 5 20:03:15 UTC 2012


On 08/05/2012 09:12 AM, Christian Boltz wrote:
> Hello,
> 
> abstractions/bash is the next UsrMove "victim" on openSUSE ;-)
> 
> I propose the following patch for trunk and 2.8.
> 
> === modified file 'profiles/apparmor.d/abstractions/bash'
> --- profiles/apparmor.d/abstractions/bash       2010-12-20 20:29:10 +0000
> +++ profiles/apparmor.d/abstractions/bash       2012-08-05 15:46:47 +0000
> @@ -40,5 +40,5 @@
>  
>    # run out of /etc/bash.bashrc
>    /etc/DIR_COLORS                  r,
> -  /bin/ls                          mix,
> +  /{usr/,}bin/ls                   mix,
>    /usr/bin/dircolors               mix,
> 
> 
Acked-by: John Johansen <john.johansen at canonical.com>




More information about the AppArmor mailing list