Last active
August 29, 2015 14:20
-
-
Save ReSTARTR/5cdbd762c310c91fedad to your computer and use it in GitHub Desktop.
unix domain socket is not writable with vboxsf
This file contains 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
# boot2docker ssh | |
# cd /Users/yoshida # mounted volume | |
# Can write text file into the vboxsf volume | |
docker@boot2docker:/Users/yoshida$ docker run -it --rm -v `pwd`:/tmp ruby:2.0 touch /tmp/foo && ls foo | |
foo | |
docker@boot2docker:/Users/yoshida$ rm ./foo | |
# Cannot write sock file into the vboxsf volume | |
docker@boot2docker:/Users/yoshida$ docker run -it --rm -v `pwd`:/tmp ruby:2.0 ruby -rsocket -e 's = UNIXServer.new("/tmp/foo")' | |
-e:1:in `initialize': Operation not permitted - "/tmp/foo" (Errno::EPERM) | |
from -e:1:in `new' | |
from -e:1:in `<main>' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment