Closed ross-spencer closed 1 month ago
sorry @ross-spencer this issue slipped under my radar - did you try the -coe
flag for this?
Not a problem, and good call! This resolves the issue!
quick test on my tmp dir like above, and I get 1495
files without -coe
and then 1521
with -coe
I just noticed SF will stop if it encounters a directory without permissions it will return a fatal error and stop scanning.
More idiomatically perhaps, SF should be able to report this as an error and move onto the remainder of the location to be scanned.
To recreate, create a directory and some content. Add another directory, e.g.
a_directory
so it appears lexicographically first. Change the ownership to another owner, e.g.sudo chown root:root a_directory
and change its permissions, e.g.sudo chmod 0770 a_directory
and try to scan. SF won't be able to scan the directory (expected) but will terminate the rest of the scan early (less expected).