Created
July 11, 2014 17:28
-
-
Save bobtfish/4aa2f8968c5cefefc9cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hzn01 ~ ⭐ docker run bobtfish/docker-issue-6828 | |
Unable to find image 'bobtfish/docker-issue-6828' locally | |
Pulling repository bobtfish/docker-issue-6828 | |
06552ac2242f: Download complete | |
511136ea3c5a: Download complete | |
65b7e9ccb809: Download complete | |
f8dd6bd14f58: Download complete | |
a343823119db: Download complete | |
ea7d6801c538: Download complete | |
f54585ff92d7: Download complete | |
bef54269eb3c: Download complete | |
2b2470c6b49f: Download complete | |
5ba8e9038f7d: Download complete | |
+ touch /test_file | |
+ touch /vol/test_file | |
+ chmod 755 /vol/test_file /test_file | |
+ chown postfix /vol/test_file /test_file | |
+ chgrp postdrop /vol/test_file /test_file | |
+ echo 'Before sgid' | |
+ ls -l /vol/test_file /test_file | |
Before sgid | |
-rwxr-xr-x 1 postfix postdrop 0 Jul 11 17:26 /test_file | |
-rwxr-xr-x 1 postfix postdrop 0 Jul 11 17:26 /vol/test_file | |
+ chmod g+s /vol/test_file /test_file | |
After sgid | |
+ echo 'After sgid' | |
+ ls -l /vol/test_file /test_file | |
-rwxr-xr-x 1 postfix postdrop 0 Jul 11 17:26 /test_file | |
-rwxr-xr-x 1 postfix postdrop 0 Jul 11 17:26 /vol/test_file | |
+ chown root:root /vol/test_file /test_file | |
+ chmod u=rwx,g=rxs,o= /vol/test_file /test_file | |
+ echo 'Suggested workaround before chown' | |
+ ls -l /vol/test_file /test_file | |
Suggested workaround before chown | |
-rwxr-s--- 1 root root 0 Jul 11 17:26 /test_file | |
-rwxr-s--- 1 root root 0 Jul 11 17:26 /vol/test_file | |
+ chown postfix:postdrop /vol/test_file /test_file | |
+ echo 'After suggested workaround' | |
+ ls -l /vol/test_file /test_file | |
After suggested workaround | |
-rwxr-x--- 1 postfix postdrop 0 Jul 11 17:26 /test_file | |
-rwxr-x--- 1 postfix postdrop 0 Jul 11 17:26 /vol/test_file | |
hzn01 ~ ⭐ docker version | |
Client version: 1.1.0 | |
Client API version: 1.13 | |
Go version (client): go1.2.1 | |
Git commit (client): 79812e3 | |
Server version: 1.1.0 | |
Server API version: 1.13 | |
Go version (server): go1.2.1 | |
Git commit (server): 79812000 | |
hzn01 ~ ⭐ docker info | |
Containers: 207 | |
Images: 389 | |
Storage Driver: aufs | |
Root Dir: /var/lib/docker/aufs | |
Dirs: 817 | |
Execution Driver: native-0.2 | |
Kernel Version: 3.8.0-19-generic | |
WARNING: No swap limit support |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment