diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-12 12:31:49 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-12 12:32:47 +0200 |
commit | 989b50a633ad285b86c3549ea9ac6f62c0a13273 (patch) | |
tree | fdc9a7ebf3c689ec4377f4dc237dbea8a46a3355 /obnam.md | |
parent | 0fcb8f314a054e4c92e49461f1ae2d9392756638 (diff) | |
download | obnam2-989b50a633ad285b86c3549ea9ac6f62c0a13273.tar.gz |
feat: handle files in directories that can be read but not executed
Diffstat (limited to 'obnam.md')
-rw-r--r-- | obnam.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1449,6 +1449,25 @@ then file live/unreadable is restored to rest then file live/unreadable/data.dat is not restored to rest ~~~ +## Unexecutable directory + +This scenario verifies that Obnam will skip a file in a directory it +can't read. Obnam should warn about that, but not give an error. + +~~~scenario +given an installed obnam +and a running chunk server +and a client config based on smoke.yaml +and a file live/dir/data.dat containing some random data +and file live/dir has mode 600 +when I run obnam --config smoke.yaml backup +then stdout contains "live/dir" +then backup generation is GEN +when I invoke obnam --config smoke.yaml restore <GEN> rest +then file live/dir is restored to rest +then file live/dir/data.dat is not restored to rest +~~~ + ## Restore latest generation This scenario verifies that the latest backup generation can be |