From ecdeb3934d8297170c508140d08a9730f16d8440 Mon Sep 17 00:00:00 2001 From: poornas Date: Mon, 22 Apr 2019 12:22:21 -0700 Subject: [PATCH] Remove Insufficient permission error from ignored errors (#2755) Remove Insufficient permission error from ignored list of errors. Fixes #2752 - When mirror fails due to insufficient permissions of user on a bucket, this should be displayed --- cmd/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils.go b/cmd/utils.go index 14b202a1..11602a41 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -39,7 +39,7 @@ func isErrIgnored(err *probe.Error) (ignored bool) { // For all non critical errors we can continue for the remaining files. switch err.ToGoError().(type) { // Handle these specifically for filesystem related errors. - case BrokenSymlink, TooManyLevelsSymlink, PathNotFound, PathInsufficientPermission: + case BrokenSymlink, TooManyLevelsSymlink, PathNotFound: ignored = true // Handle these specifically for object storage related errors. case BucketNameEmpty, ObjectMissing, ObjectAlreadyExists: