Merge "Fix the Finder's ability to ignore permission errors"

This commit is contained in:
Jeff Gaston 2017-08-24 19:32:47 +00:00 committed by Gerrit Code Review
commit f355735fb9
1 changed files with 1 additions and 1 deletions

View File

@ -1181,7 +1181,7 @@ func (f *Finder) canIgnoreFsErr(err error) bool {
// Don't recognize this error
return false
}
if pathErr.Err == os.ErrPermission {
if os.IsPermission(pathErr) {
// Permission errors are ignored:
// https://issuetracker.google.com/37553659
// https://github.com/google/kati/pull/116