Commit 0709e59
committed
job-ingest: reject jobs for user root unless owner=root
Problem: In a multi-user flux instance, user root is able to submit
jobs successfully, but the later fail to execute because the IMP
refuses to run procesess as root.
If the instance owner userid is not 0, refuse to accept jobs
submitted as root with a reasonable error message.
Fixes #61441 parent 10cdf3b commit 0709e59
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
577 | 586 | | |
578 | 587 | | |
579 | 588 | | |
| |||
797 | 806 | | |
798 | 807 | | |
799 | 808 | | |
| 809 | + | |
| 810 | + | |
800 | 811 | | |
801 | 812 | | |
802 | 813 | | |
| |||
0 commit comments