Honor lack of user/group recurse in file.directory
Merge pull request #11579 from ze42/fix-file.directory-recurse

Honor lack of user/group recurse in file.directory