Making log directories writable