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

Permission denied when creating new components in WINGS #150

Open
dgarijo opened this issue Mar 5, 2023 · 4 comments
Open

Permission denied when creating new components in WINGS #150

dgarijo opened this issue Mar 5, 2023 · 4 comments

Comments

@dgarijo
Copy link
Collaborator

dgarijo commented Mar 5, 2023

Describe the bug
I am using the docker-compose image to run WINGS. I can create components and initialize them. But the components are created with no execution permissions. As a result, the only way for me to change this is logging in the container and doing chmod on the script files

To Reproduce
Steps to reproduce the behavior:

  1. Import a domain (e.g., Caesar's cypher)
  2. Create a new component that requires running a scrip
  3. Run that component
  4. Error: permission denied

Expected behavior
I would like to be able to run the components I create

@varunratnakar
Copy link
Contributor

Hi Daniel,

Thanks for reporting the issue.

I couldn't recreate the chmod bug

I did find a related issue with python components, where it couldn't find python in the container, and needed the run script to have python3 in there

@dgarijo
Copy link
Collaborator Author

dgarijo commented Mar 10, 2023

Hi Varun,
this issue was not only experienced by me, but by all my students (20+). We had different Operative Systems (I am in Unix, they had Windows and Mac). We all were using the docker image stated in the WINGS repo

I am able to create new components and run them, as long as they don't have any extra scripts (the .sh comes with the right run permissions). If I create and initialize a component with a python script, and I try to run it from bash, then the error appears (permission error in the python script).

I had to docker exec into the container and change the permissions of the python script manually (for every new component created).

@varunratnakar
Copy link
Contributor

varunratnakar commented Mar 10, 2023 via email

@dgarijo
Copy link
Collaborator Author

dgarijo commented Mar 10, 2023

In theory the OS should not be the problem.
Maybe we are doing something differently? If you want me to show the steps, I can set up a meeting.

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

No branches or pull requests

2 participants