ansible/test
Sam Doran 5cb96087e6
Fix warning for new default permissions when mode is not specified (#70976) (#70985)
Follow up to #70221
Related to #67794
CVE-2020-1736

When set_mode_if_different() is called with mode of 'None', ensure we issue
a warning about the change in default permissions.

Add integration tests to ensure the warning works properly.

* Fix tests
- actually use custom module 🤦‍♂️
- verify file permission on created files
- use remote_tmp_dir so we're ready for split controller
- improve test module so we can skip the call to set_fs_attributes_if_different()
- fix tests for CentOS 6

(cherry picked from commit dc79528cc6)
2020-07-30 10:10:23 -07:00
..
ansible_test
integration Fix warning for new default permissions when mode is not specified (#70976) (#70985) 2020-07-30 10:10:23 -07:00
lib/ansible_test validate-modules: fix version_added validation for top-level, fix error codes (#70869) (#70947) 2020-07-29 13:54:45 -07:00
sanity [backport][2.10][PR #70446] Refactor Python API examples and docs (#70850) 2020-07-29 13:51:21 -07:00
support Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
units reset logging to INFO (#70878) (#70881) 2020-07-24 15:47:57 -05:00
utils/shippable Remove temporary migration hack from CI scripts. 2020-06-16 11:25:39 -07:00