Commit bab1f7d
Improve runguard error message when command cannot be executed
When the system error is "Permission denied" this typically means
that the full path of the command is not traversible for the user.
This can happen for example when a validator is executed as
`domjudge-run` user and `/home/domjudge` does not have `o+x` set.
(cherry picked from commit aa67a2b)1 parent 06beacf commit bab1f7d
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
818 | 832 | | |
819 | 833 | | |
820 | 834 | | |
| |||
1426 | 1440 | | |
1427 | 1441 | | |
1428 | 1442 | | |
1429 | | - | |
1430 | | - | |
1431 | | - | |
| 1443 | + | |
1432 | 1444 | | |
1433 | 1445 | | |
1434 | 1446 | | |
| |||
0 commit comments