If you do a
sealert -a /var/log/audit/audit.log

That should output what SELinux policy was infringed.

SELinux logs to /var/log/audit/audit.log

grep AVC /var/log/audit/audit.log
is another way to parse the log file for SELinux comments.


Cheers,
Tahir

On Tue, Jun 16, 2015 at 10:27 PM, Martin Cigorraga <martincigorraga@gmail.com> wrote:
Check with SELinux Troubleshooter.

On Tue, Jun 16, 2015 at 6:24 PM jd1008 <jd1008@gmail.com> wrote:


On 06/16/2015 03:22 PM, jd1008 wrote:
> Selinux comlained the a program "attempted write on this directory"
>
> but it does not say which directory.
> I looked in /var/log but even there it does not say which directory.
>
> So how can I find out which directory the program attempted the write?
The program in question is python2.7.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org