{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/49837","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/49837/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/49837/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/49837/events","html_url":"https://github.com/ansible/ansible/issues/49837","id":390401938,"node_id":"MDU6SXNzdWUzOTA0MDE5Mzg=","number":49837,"title":"Ansible fetch sticky bit","user":{"login":"gopurx","id":38734385,"node_id":"MDQ6VXNlcjM4NzM0Mzg1","avatar_url":"https://avatars3.githubusercontent.com/u/38734385?v=4","gravatar_id":"","url":"https://api.github.com/users/gopurx","html_url":"https://github.com/gopurx","followers_url":"https://api.github.com/users/gopurx/followers","following_url":"https://api.github.com/users/gopurx/following{/other_user}","gists_url":"https://api.github.com/users/gopurx/gists{/gist_id}","starred_url":"https://api.github.com/users/gopurx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopurx/subscriptions","organizations_url":"https://api.github.com/users/gopurx/orgs","repos_url":"https://api.github.com/users/gopurx/repos","events_url":"https://api.github.com/users/gopurx/events{/privacy}","received_events_url":"https://api.github.com/users/gopurx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T20:46:37Z","updated_at":"2018-12-12T20:46:37Z","closed_at":null,"author_association":"NONE","body":"<!--- Verify first that your issue is not already reported on GitHub -->\r\n<!--- Also test if the latest release and devel branch are affected too -->\r\n<!--- Complete *all* sections as described, this form is processed automatically -->\r\n\r\n##### SUMMARY\r\nUsing Fetch module trying to move files from windows host to unix, sticky bit on directory is not inherited to files moved under unix directory\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest -->\r\n - Bug Report\r\n - Feature Idea\r\n - Documentation Report\r\n\r\n##### COMPONENT NAME\r\nFetch module ansible\r\n\r\n##### ANSIBLE VERSION\r\nAnsible 2.6.2\r\n\r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- Paste verbatim output from \"ansible-config dump --only-changed\" between quotes -->\r\n```paste below\r\n\r\n```\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n\r\n- name: Creates archive directory\r\n  file:\r\n    path: \"/tmp/files/\"\r\n    state: directory\r\n    mode: 01777\r\nname: Move files to archive directory\r\n  fetch:\r\n    validate_checksum: yes\r\n    src: 'D:\\tmp\\files\\temp.txt'\r\n    dest: /tmp/files/\r\n    flat: yes\r\n```\r\n\r\n<!--- HINT: You can paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\nfiles to be copied with permissions and user set on files directory, but getting created with 0644 permissions and random user and group\r\n\r\n##### ACTUAL RESULTS\r\n<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes -->\r\n```paste below\r\n\r\n```\r\n"}}
{"actor":{"display_login":"gopurx"}}