mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 07:37:57 +08:00

For some reason Google doesn't return an error if you use a service account with the wrong permissions to list a team drive. This gives the user the false impression that the drive is empty. This change: - calls teamdrives get on rclone about - calls teamdrives get on a listing of the root which returned no entries These will both detect a team drive which has the incorrect auth and workaround the issue. Fixes: #3763 See: https://forum.rclone.org/t/rclone-missing-error-code-when-sas-have-no-permission/13086 See: https://forum.rclone.org/t/need-need-bug-verification-rclone-about-doesnt-work-on-teamdrives-empty-output/13105