mirror of https://github.com/ansible/ansible.git
ensure non-root users can read arguments file when using sudo_user
Non-standard modules must read in the arguments file in order to access their arguments, however, when this file is transfered to the remote host it may only have the permissions 600. This means that using sudo and sudo_user will result in permission denied errors when attempting to read the arguments file. This patch fixes #4438 by explicitly forcing the arguments file to be world readable before executing the module.pull/4538/head
parent
00f3ec645d
commit
84a57b7545
Loading…
Reference in New Issue