2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-13 17:28:27 +00:00
restic/internal
eleith a24e986b2b do not require gs bucket permissions to init repository
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
2020-11-18 06:14:11 -08:00
..
2020-09-05 10:07:16 +02:00
2020-11-02 11:24:26 +01:00
2020-10-09 22:37:24 +02:00
2019-04-13 13:38:39 +02:00
2020-11-12 20:38:31 +01:00
2020-09-21 14:21:32 +02:00