Directorytest5573

Previously it did not check for perms unless `recurse: True` was set.

Had to modify the half-done `test=True` logic for the `file.check_perms` directory -- now works much better