Werk #18695: mk-job: Allow non-root users to create output directories
| Component | Checks & agents | ||||
| Title | mk-job: Allow non-root users to create output directories | ||||
| Date | Oct 22, 2025 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The mk-job script now attempts to create output directories for all users, not just root. This change allows non-root users to run the mk-job script without requiring root privileges to create missing output directories, improving overall usability.
If the script fails to create the output directory due to insufficient permissions, it displays the updated error message: "Unable to create output directory." In this case, users should ensure they have the necessary permissions or create the directory manually.