ansible/docs/docsite/rst/porting_guides
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
..
porting_guide_2.0.rst restore TOC links to old porting guides (#64395) 2019-11-04 10:55:31 -06:00
porting_guide_2.3.rst remove build errors including guess (#69711) 2020-05-29 11:56:49 -05:00
porting_guide_2.4.rst restore TOC links to old porting guides (#64395) 2019-11-04 10:55:31 -06:00
porting_guide_2.5.rst Intersphinx (#68090) 2020-03-06 14:16:35 -08:00
porting_guide_2.6.rst lineinfile note belongs in changelog for 2.6, not 2.7 (#45517) 2018-09-11 22:00:40 +01:00
porting_guide_2.7.rst Intersphinx (#68090) 2020-03-06 14:16:35 -08:00
porting_guide_2.8.rst Intersphinx (#68090) 2020-03-06 14:16:35 -08:00
porting_guide_2.9.rst Intersphinx (#68090) 2020-03-06 14:16:35 -08:00
porting_guide_2.10.rst Fix warning for new default permissions when mode is not specified (#70976) (#70985) 2020-07-30 10:10:23 -07:00
porting_guides.rst restore TOC links to old porting guides (#64395) 2019-11-04 10:55:31 -06:00