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

Permissions Error #10

Open
hunterowens opened this issue Jul 21, 2014 · 2 comments
Open

Permissions Error #10

hunterowens opened this issue Jul 21, 2014 · 2 comments

Comments

@hunterowens
Copy link

Run example as in README get


~ # ❯❯❯ docker logs f4e7287bfef7a19056488801f265a44318414103f29468bcbbe62541432606b2                                                                                                                    
sudo: unable to execute /usr/lib/postgresql/9.3/bin/postgres: Permission denied
@piotr-sokolowski
Copy link

Same for me. Tested on:
Docker version 0.9.1, build 3600720
Docker version 1.1.1, build bd609d2

@piotr-sokolowski
Copy link

Those permissions doesn't looks good :)

root@672128d7609a:/# ls -lha /   
total 17M
drwxr-xr-x  83 root root 4.0K Jul 22 08:36 .
drwxr-xr-x  83 root root 4.0K Jul 22 08:36 ..
-rwxr-xr-x   1 root root    0 Jul 22 08:36 .dockerenv
-rwx------   1 root root  17M Jul 22 08:27 .dockerinit
drwxr-xr-x   2 root root 4.0K Jul 17 03:38 bin
drwxr-xr-x   2 root root 4.0K Apr 10 22:12 boot
drwxr-xr-x   4 root root  360 Jul 22 08:36 dev
d--x--x---  91 root root 4.0K Jul 22 08:36 etc
drwxr-xr-x   2 root root 4.0K Apr 10 22:12 home
drwxr-xr-x  13 root root 4.0K Jul 21 22:39 lib
drwxr-xr-x   2 root root 4.0K Jul 17 03:34 lib64
drwxr-xr-x   2 root root 4.0K Jul 17 03:34 media
drwxr-xr-x   2 root root 4.0K Apr 10 22:12 mnt
drwxr-xr-x   2 root root 4.0K Jul 17 03:34 opt
dr-xr-xr-x 110 root root    0 Jul 22 08:36 proc
drwx------   2 root root 4.0K Jul 17 03:38 root
drwxr-xr-x   8 root root 4.0K Jul 21 22:39 run
drwxr-xr-x   2 root root 4.0K Jul 21 21:47 sbin
drwxr-xr-x   2 root root 4.0K Jul 17 03:34 srv
dr-xr-xr-x  13 root root    0 Jul 22 08:36 sys
drwxrwxrwt   2 root root 4.0K Jul 21 22:39 tmp
d--x--x---  19 root root 4.0K Jul 22 08:00 usr
d--x--x---  17 root root 4.0K Jul 22 07:59 var

Note: Image is OK, when build from repo

Maybe related to moby/moby#6047

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