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
..
archiver fix(backup): Switch tags cobra type to handle comma-separated list 2020-11-14 15:48:56 +00:00
backend do not require gs bucket permissions to init repository 2020-11-18 06:14:11 -08:00
cache Less repetitive error messages in internal/cache 2020-10-05 20:28:54 +02:00
checker check: Only track data blobs when unused blobs should be reported 2020-11-15 18:43:07 +01:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug Allow debug logging to pipes and terminals 2020-10-19 22:30:30 +02:00
dump Improve readability 2020-11-02 11:24:26 +01:00
errors backup: Improve error message for invalid pattern 2018-10-03 11:12:51 +02:00
filter filter: Fix glob matching on absolute path marker on windows 2020-10-09 16:11:05 +02:00
fs vss: fix DeleteSnapshots() and GetSnapshotProperties() on 386 2020-11-12 19:31:00 +01:00
fuse Modernize context import in internal/fuse 2020-10-06 14:55:13 +02:00
hashing Micro-optimization for hashing.Writer/PackerManager 2020-03-05 22:30:04 +01:00
limiter rclone: Respect bandwith limits 2018-05-22 20:48:17 +02:00
migrations Upgrade minio sdk to v7 2020-10-09 22:37:24 +02:00
mock mock: Remove unused repository type 2019-04-13 13:38:39 +02:00
options Add support for boolean extended options 2020-11-11 11:54:27 +01:00
pack Decrease allocation rate in internal/pack 2020-11-15 16:51:47 +01:00
repository check: Only track data blobs when unused blobs should be reported 2020-11-15 18:43:07 +01:00
restic Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
restorer Merge pull request #2990 from MichaelEischer/fix-goreport-warnings 2020-10-12 20:44:56 +02:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test helpers: Improve error message 2020-11-12 20:38:31 +01:00
textfile Remove io.Writer from fs.File 2020-09-21 14:21:32 +02:00
ui Replace restic.Progress with new progress.Counter 2020-11-09 12:12:35 +01:00
walker Remove a few redundant type specifiers 2020-10-06 14:55:13 +02:00