<p dir="ltr"><br>
On Jan 14, 2014 11:54 AM, "Aaron Lewis" <<a href="mailto:the.warl0ck.1989@gmail.com">the.warl0ck.1989@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
Hello,</p>
<p dir="ltr">> It looks like one cannot create a profile for a scrit, e.g perl or python<br>
><br>
> Am I wrong?<br>
><br>
> I don't want a single profile for all script that runs by the same interpreter<br>
><br>
I think you can create a profile for a script as follows:<br>
/path/to/script {<br>
    #include <abstractions/relevant><br>
    #allow rules<br>
    #deny rules</p>
<p dir="ltr">}</p>
<p dir="ltr">The above works when the script is run as an executable. Though it didn't work for me when used via idle or using python (my naive guess would be because child profiles were not used by python/idle)</p>
<p dir="ltr">More experience members can shed more light on the matter.</p>
<p dir="ltr">Regards,<br>
Kshitij Gupta</p>
<p dir="ltr">-- </p>
<p dir="ltr">I always translate to something with an equivalent grammar error<br>
<mdeslaur> on #apparmor</p>
<p dir="ltr">> --<br>
> Best Regards,<br>
> Aaron Lewis - PGP: 0x13714D33 - <a href="http://pgp.mit.edu/">http://pgp.mit.edu/</a><br>
> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33<br>
><br>
> --<br>
> AppArmor mailing list<br>
> <a href="mailto:AppArmor@lists.ubuntu.com">AppArmor@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/apparmor">https://lists.ubuntu.com/mailman/listinfo/apparmor</a><br>
</p>