Commit 4ee8bac
Improve default permissions for raw artifacts (#144)
Summary:
Fixes #107.
This changes the fallback mode for single-file artifacts on Unix from owner-executable only to all-users executable.
Validation on my Windows machine:
```
❯ $env.RUSTFLAGS = "-Awarnings"
❯ cargo fmt --check --quiet
❯ cargo test --quiet
running 48 tests
................................................
test result: ok. 48 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
running 43 tests
...........................................
test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s
❯ devcontainer exec --workspace-folder . --remote-env $"RUSTFLAGS=($env.RUSTFLAGS)" cargo test --quiet
running 49 tests
.................................................
test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
running 44 tests
............................................
test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s
❯ devcontainer exec --workspace-folder . cargo clippy --quiet -- $env.RUSTFLAGS
❯
```
Pull Request resolved: #144
Reviewed By: bigfootjon
Differential Revision: D109112264
fbshipit-source-id: b0a8eccc7117be1dc0fdcb62325ce5026d460cf21 parent d03c5d4 commit 4ee8bac
3 files changed
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
907 | 909 | | |
908 | 910 | | |
909 | 911 | | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
910 | 940 | | |
911 | 941 | | |
912 | 942 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
478 | 481 | | |
479 | 482 | | |
480 | 483 | | |
| |||
0 commit comments