Escalate user privileges for root targeted dotfiles
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 487
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Switching to root by doing sudo changes the assumed path of TUCKR_HOME to /root. So one has to do
TUCKR_HOME=$HOME/.config sudo tuckr a <group>
Tuckr should be able to escalate the user without this. Possibly manually setting and unsetting this variable when it escalates.
Contributor guide
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 at the tuckr a <group> command path and trace how sudo or root escalation changes TUCKR_HOME. Reproduce the /root path behavior with a root-targeted dotfiles group and inspect the current environment handling. Done means the command preserves the invoking user's intended TUCKR_HOME without requiring manual environment assignment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100