You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/module_utils_basic
Sam Doran dc79528cc6
Fix warning for new default permissions when mode is not specified (#70976)
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
4 years ago
..
library Fix warning for new default permissions when mode is not specified (#70976) 4 years ago
meta Fix warning for new default permissions when mode is not specified (#70976) 4 years ago
tasks Fix warning for new default permissions when mode is not specified (#70976) 4 years ago
aliases Fix warning for new default permissions when mode is not specified (#70976) 4 years ago