Commit 2c009be
committed
fix(unpack): support unpacking readonly folders
layer unpacking preserves the original filemode. If the layer contains
a readonly director, this would cause unpack to fail, because the dir
on disk would not be writeable, and it's children would fail to write.
this change makes all unpacked files owner-writable, which has some
implications for how unpacked files should be used, but for purposes
within opm this will not be an issue.1 parent 18b8ef3 commit 2c009be
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
198 | 205 | | |
199 | 206 | | |
0 commit comments