Giving the file.directory option the ability to ignore files or directories when recursively setting the ownership, group ownership and permissions.
Merge pull request #14869 from garethgreenaway/14795_recurse_directory

Additions to state file.py