On 20. mai 2017 15:51, 'Michael Pöllinger' via Ansible Project wrote:
Hi folks.
Perhaps i´m wrong, but if i set a file mode with:
- file:
path: /usr/lib/rssh/rssh_chroot_helper
mode: 4755
I would expect something like:
-rwsr-xr-x 1 root root 30728 Nov 8 2014 rssh_chroot_helper
But i get this as result:
--w--w--wt 1 root root 30728 Nov 8 2014 rssh_chroot_helper
Am i going wrong or is this a bug?
It documented under mode parameter here
https://docs.ansible.com/ansible/file_module.html#options
"For those used to /usr/bin/chmod remember that modes are actually octal
numbers (like 0644). Leaving off the leading zero will likely have
unexpected results."
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c7dba1ab-3d2d-3155-ec7c-99ac272afcc3%40olstad.com.
For more options, visit https://groups.google.com/d/optout.