Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix permission denied errors #24

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

eszpotanski
Copy link
Contributor

This PR addresses the permission issues, which results in failing with Permission error or getting stuck with [...] overriding mode 0555 (r-xr-xr-x)?. It makes sure that files in workspace (bazel-bin directory) are writable and can be overridden.

@@ -44,6 +44,9 @@ fi
export DESIGN_CONFIG_PREFIXED=$WORKSPACE_EXECROOT/$DESIGN_CONFIG
export STAGE_CONFIG_PREFIXED=$WORKSPACE_EXECROOT/$STAGE_CONFIG

# Make bazel-bin writable
chmod -R +w $WORKSPACE_EXECROOT/bazel-out/k8-fastbuild/bin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a bit unnerving that files are overwritten in this folder. I something begin rebuilt that shouldn't?

@@ -15,6 +15,9 @@ fi

export WORK_HOME=$BUILD_DIR/$RULEDIR

# Make bazel-bin writable
chmod -R +w $WORK_HOME
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... OK for now, but it seems to me that this should be in the _make scripts. Are we hiding a more subtle problem?

@oharboe
Copy link
Collaborator

oharboe commented Apr 16, 2024

@lpawelcz I am a little bit unnerved that we are hiding a real problem and making it harder to find later... Thoughts?

@oharboe oharboe merged commit 5e7d077 into The-OpenROAD-Project:main Apr 16, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants