Commit e281ba8
authored
fix: lake: correct exe perms on restore (#14240)
This PR ensures executables are executable when restored from the Lake
cache even if they were not originally executable in the cache (e.g.,
because they were downloaded through `lake cache get`).
This is does not correct permissions for executables obtained from the
cache without restoring them. However, building executables in the
standard way (e.g., via `lean_exe` / `buildLeanExe`) should always
restore them.1 parent 009a063 commit e281ba8
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
660 | 665 | | |
661 | 666 | | |
662 | 667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
332 | 339 | | |
333 | 340 | | |
334 | 341 | | |
| |||
0 commit comments