Permission denied when creating /etc/astra-sim directory
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 184
- Avg merge
- 13h 4m
- Merged PRs (30d)
- 1
Description
Hi,
When running the command ./scripts/build.sh -c analytical, I encountered the following error:
mkdir: cannot create directory ‘/etc/astra-sim’: Permission denied
It seems like the script is trying to create a directory under /etc/(presumably to store configuration files?). However, as a regular user, I don't have permission to write to /etc/, so the directory creation failed.
That said, the overall build command still seemed to complete successfully.
My questions are:
- Was the intention of the script to write configuration files or create directories under /etc/astra-sim?
- Since the directory creation failed due to permission issues, could this lead to any missing functionality or misconfiguration later on?
- Is there a recommended way to run this script (e.g., specifying a different config location, or using sudo) to avoid this issue while still ensuring everything works as intended?
Thanks in advance for your help!
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 running ./scripts/build.sh -c analytical and reading scripts/build.sh around the creation of /etc/astra-sim. Determine whether that directory is required for the build or later functionality, and identify the intended non-root configuration path. Done means the command no longer produces an inappropriate permission failure and its resulting configuration behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100