- name: Create test
     path: /srv/test
     state: directory
     mode: 2770
     owner: root
     group: admin

Output of -v
{"changed": true, "gid": 6003, "group": "admin", "mode": "05322", "owner":
"root", "path": "/srv/test", "size": 4096, "state": "directory", "uid": 0}

So the mode of 2770 somehow gets converted to 05322

So any mode with SetGID, SetUID or SetSticky, gets mangled.
Tried in 1.6 and 1.7

1770 -> 03352
2770 -> 05322
4770 -> 01242

I should convert the end permissions to octal and see if there is a
pattern. Will do later. Just want to post this for now and see if someone
knows anything about this.


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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/36ed2d34-e94d-475f-b8a8-a1a00631fdd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupansible-project @
postedAug 10, '14 at 5:00p
activeAug 12, '14 at 8:32a



site design / logo © 2022 Grokbase