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 issue with docker/* scripts #2

Open
alexdeathway opened this issue Aug 9, 2023 · 2 comments
Open

Permission issue with docker/* scripts #2

alexdeathway opened this issue Aug 9, 2023 · 2 comments
Labels
Non-reproducible or Heisenbug Uncertain about in which category it falls. Stopped Investigating

Comments

@alexdeathway
Copy link
Owner

chmod: changing permissions of 'docker/entrypoint.sh': Operation not permitted
chmod: changing permissions of 'docker/start.sh': Operation not permitted
The command '/bin/sh -c chmod +x docker/*.sh' returned a non-zero code: 1

@alexdeathway alexdeathway added the bug Something isn't working label Aug 9, 2023
@alexdeathway
Copy link
Owner Author

For some reason, we are having different permission level in container dir.

[On host system]

-rw-rw-r-- 1 app_user app_user  714 Aug 14 10:22 Dockerfile
-rw-rw-r-- 1 app_user app_user   19 Aug 11 17:15 README.md
drwxrwxr-x 2 app_user app_user 4096 Aug 14 08:45 certbot
drwxrwxr-x 2 app_user app_user 4096 Aug 11 17:15 core
drwxrwxr-x 2 app_user app_user 4096 Aug 11 17:15 docker
-rw-rw-r-- 1 app_user app_user 1896 Aug 11 17:15 docker-compose.prod.yml
-rw-rw-r-- 1 app_user app_user  851 Aug 14 08:45 docker-compose.yml
-rwxrwxr-x 1 app_user app_user  660 Aug 11 17:15 manage.py
drwxr-xr-x 2 root     root     4096 Aug 12 15:32 media
drwxrwxr-x 2 app_user app_user 4096 Aug 11 17:15 nginx
-rw-rw-r-- 1 app_user app_user  519 Aug 11 17:15 requirements.txt
drwxr-xr-x 2 root     root     4096 Aug 12 15:32 static
-rw-rw-r-- 1 app_user app_user  544 Aug 11 17:15 template.env

[On remote or other systems]

-rw-rw-rw-  1 app_user root      674 Aug 14 10:38 Dockerfile
-rw-rw-rw-  1 app_user root       19 Aug 14 10:38 README.md
drwxrwxrwx+ 2 app_user root     4096 Aug 14 10:38 certbot
drwxrwxrwx+ 3 app_user root     4096 Aug 14 10:38 core
drwxrwxrwx+ 2 app_user root     4096 Aug 14 10:38 docker
-rw-rw-rw-  1 app_user root     1896 Aug 14 10:38 docker-compose.prod.yml
-rw-rw-rw-  1 app_user root      851 Aug 14 10:38 docker-compose.yml
-rwxrwxrwx  1 app_user root      660 Aug 14 10:38 manage.py
drwxr-xr-x  2 app_user app_user 4096 Aug 14 10:40 media
drwxrwxrwx+ 2 app_user root     4096 Aug 14 10:38 nginx
-rw-rw-rw-  1 app_user root      519 Aug 14 10:38 requirements.txt
drwxrwxrwx+ 3 app_user app_user 4096 Aug 14 10:40 static
-rw-rw-rw-  1 app_user root      544 Aug 14 10:38 template.env

@alexdeathway
Copy link
Owner Author

No longer able to reproduce this bug, even on system that reported it.

@alexdeathway alexdeathway added Non-reproducible or Heisenbug Uncertain about in which category it falls. Stopped Investigating and removed bug Something isn't working labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Non-reproducible or Heisenbug Uncertain about in which category it falls. Stopped Investigating
Projects
None yet
Development

No branches or pull requests

1 participant