You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Specify how the recursive argument to directory() works
- As described in issue #1435, the 'recursive' argument to
files.directory() does not ensure recursive ownership of the entire
directory tree. Only ownership of the top-level directory is
checked, not that of the subdirectories and files. Specifying
'recursive=True' will have no effect if the top-level directory
already matches the mode, user, and group.
- This is how the operation has behaved for a long time, so changing
existing functionality to check the entire tree could be
undesirable. It also takes more time to check the entire tree, so
doing so affects performance. A new option may be provided in the
future for callers to explicitly check the whole tree when this is
desired.
- Documented the existing behaviour of 'recursive' in the
files.directory() docstring.
0 commit comments