mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 20:01:48 +08:00
drive: debug when we are ignoring permissions #7853
This commit is contained in:
parent
de742ffc67
commit
8e2f596fd0
|
@ -372,6 +372,7 @@ func (o *baseObject) parseMetadata(ctx context.Context, info *drive.File) (err e
|
|||
// shared drives.
|
||||
if o.fs.isTeamDrive && !info.HasAugmentedPermissions {
|
||||
// Don't process permissions if there aren't any specifically set
|
||||
fs.Debugf(o, "Ignoring %d permissions and %d permissionIds as is shared drive with hasAugmentedPermissions false", len(info.Permissions), len(info.PermissionIds))
|
||||
info.Permissions = nil
|
||||
info.PermissionIds = nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user