Using -p returns an error when run as root on Saga
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Running dusage as root gives an error:
[root@login-2.saga ~]# dusage -p nn4605k
ERROR: Error: invalid range, must be in the form `<min>-<max>` or `<value>`
With some additional testing, dusage -p with a groupid gives an empty table with no error.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing dusage -p nn4605k as root on Saga and compare it with dusage -p using a group ID. Trace the -p argument handling and quota or group lookup; done means root usage no longer raises the invalid-range error and group-ID output is populated or the intended empty result is clearly handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100