Skip to content

Conversation

@Kriskras99
Copy link

SUMMARY

Python's os.mkdir creates directories with 0o777 by default. When the project directory is created on the fly by AWX this results in the following warning:

[WARNING] Ansible is being run in a world writable directory (/...),
ignoring it as an ansible.cfg source. For more information see ...

This makes the project and private data directories only readable by the user that AWX is running as.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • Other

Python's `os.mkdir` creates directories with 0o777 by default. When the
project directory is created on the fly by AWX this results in the
following warning:

```
[WARNING] Ansible is being run in a world writable directory (/...),
ignoring it as an ansible.cfg source. For more information see ...
```

This makes the project and private data directories only readable by
the user that AWX is running as.

Signed-off-by: Kriskras99 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant