Allow installation as non-root
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start with the installation script and inspect the Linux branch where TARGET is set. Compare behavior when the script runs as root versus a non-root user, then verify that non-root installation works without sudo and that the existing root installation behavior remains intact.
Written by the indexing model from the issue text.
Description
Can we please relax the requirement that this needs to be installed via sudo?
I currently download the script first and then edit it:
Linux)
FILE="${FILE}_linux"
TARGET="/home/developer/.local/bin"
;;
Installing it as myself works perfectly then.
It could default to ~/.local/bin for non-root execution, otherwise stay with /usr/local/bin. Or just allow the caller to override the value of TARGET via the environment and/or a CLI param and use whatever they wish.
- Dominant language
- Shell
- Stars
- 29
- Forks
- 19
- Avg merge
- 3m
- Merged PRs (30d)
- 6
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.
More from databricks/setup-cli
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
databricks/setup-cli#239 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
databricks/setup-cli#222 · 4 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
databricks/setup-cli#207 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
databricks/setup-cli#182 · 1 comment · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
databricks/setup-cli#178 ·
All issues in databricks/setup-cli
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·