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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user