Windows does not use the standard user/group/all permissions that are in 
use with most unix servers so the mode option most likely will never be 
supported. Windows uses 
ACLs 
https://msdn.microsoft.com/en-us/library/windows/desktop/aa374872%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
 
to set permissions on files and folders and these are a lot more 
complicated than the mode permissions.

While you can't do it in one task with win_copy, the 
win_acl http://docs.ansible.com/ansible/latest/win_acl_module.html module 
is designed to set ACL's on a file/folder to achieve a similar result.

Thanks

Jordan

-- 
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/e0383e93-ce59-4591-8109-39a0e5bd94d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to