# Recursively chown'ing a directory

**URL:** <https://forum.ansible.com/t/recursively-chowning-a-directory/13626>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [October 8, 2013, 2:41am UTC](https://forum.ansible.com/t/recursively-chowning-a-directory/13626 "2013-10-08T02:41:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![C\_Morgan\_Hamill](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Post date:** [October 8, 2013, 2:41am UTC](https://forum.ansible.com/t/recursively-chowning-a-directory/13626/1 "2013-10-08T02:41:03Z")

</div>

You can also do `chmod -R u=rwX,g=rX,o=rX /some/dir`. See `man chmod` for explanation.

I was going to submit a patch months ago to make the mode argument in the file, copy, etc. modules take symbolic args as above, but I got sidetracked.

I’ll clean that patch up and put in a pull request by the end of the week.
