# extra checking

**URL:** <https://forum.ansible.com/t/extra-checking/18839>\
**Category:** Ansible Project\
**Created:** [July 24, 2015, 8:48am UTC](https://forum.ansible.com/t/extra-checking/18839 "2015-07-24T08:48:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Leer](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Michael\_Leer](https://forum.ansible.com/u/Michael_Leer)\
**Post date:** [July 24, 2015, 8:48am UTC](https://forum.ansible.com/t/extra-checking/18839/1 "2015-07-24T08:48:55Z")

</div>

Hello,

I recently came across an issue that a user was having where the /var/log/ansible.log file was not writable, would it be benefical to check the log files permissions (if specified within the config) when starting Ansible?

Mike

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 24, 2015, 2:28pm UTC](https://forum.ansible.com/t/extra-checking/18839/2 "2015-07-24T14:28:04Z")

</div>

already in there:

if (os.path.exists(path) and not os.access(path, os.W\_OK)) and not  
os.access(os.path.dirname(path), os.W\_OK):
