GoogleCloudPlatform / GoogleCloudPlatform/gsutil
how to set config path except change $HOME
Open
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
sh is run by nobody. $HOME is "/".
python2 /usr/local/google-cloud-sdk/google-cloud-sdk/bin/bootstrapping/gsutil.py version -l
ERROR: (gsutil) Could not create directory [/.config/gcloud]: Permission denied.
Contributor guide
Research direction
Start with the gsutil.py entry point and investigate how gsutil determines its configuration directory when HOME is "/". Reproduce the command as the nobody user and identify whether a supported writable config path can be selected without changing HOME; done means the command runs without the permission error.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100