1
0
mirror of https://github.com/minio/mc.git synced 2025-11-10 13:42:32 +03:00

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
This commit is contained in:
poornas
2019-04-22 12:22:21 -07:00
committed by kannappanr
parent abceea8fa1
commit ecdeb3934d

View File

@@ -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: