mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
a24e986b2b
a gs service account may only have object permissions on an existing bucket but no bucket create/get permissions. these service accounts currently are blocked from initialization a restic repository because restic can not determine if the bucket exists. this PR updates the logic to assume the bucket exists when the bucket attribute request results in a permissions denied error. this way, restic can still initialize a repository if the service account does have object permissions fixes: https://github.com/restic/restic/issues/3100 |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
gs_test.go | ||
gs.go |