Skip to content

Permission denied when creating /etc/astra-sim directory #200

@Dreampop0215

Description

@Dreampop0215

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:​

  1. Was the intention of the script to write configuration files or create directories under /etc/astra-sim?
  2. Since the directory creation failed due to permission issues, could this lead to any missing functionality or misconfiguration later on?
  3. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions