I never realized how confusing this dialog appears.
When "Files only" is checked just the permission is set on the files, the permission for folders is not changed. The opposite is true for "folders only"
I am re-designing this dialog for v4.0 to make it more user friendly