-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix cmd exection mode detection
* We drop all privs by the time we come to execution mode detection. So, we need to check if process has caps for capability mode. Use sudo as last option. * Seems like exeucting with slurm user is not guaranteed to give jobs of all users. So we always execute the command using root user Signed-off-by: Mahendra Paipuri <[email protected]>
- Loading branch information
1 parent
aaad86b
commit d1c4d0a
Showing
2 changed files
with
22 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters