Nick Craig-Wood d3b0bed091 drive: make sure invalid auth for teamdrives always reports an error
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
2019-11-28 10:51:17 +00:00
..
2019-09-30 14:05:49 +01:00
2019-10-10 21:00:41 +01:00
2019-11-14 11:36:44 +00:00
2019-11-18 14:13:02 +00:00
2019-10-02 12:41:52 +01:00
2019-09-30 14:05:49 +01:00
2019-09-30 22:00:24 +01:00
2019-11-14 21:51:34 +00:00
2019-09-30 22:00:25 +01:00
2019-10-05 10:22:43 +01:00