mirror of
https://github.com/rclone/rclone
synced 2024-11-23 00:06:55 +01:00
d3b0bed091
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 |
||
---|---|---|
.. | ||
test | ||
drive_internal_test.go | ||
drive_test.go | ||
drive.go | ||
upload.go |