Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Can't set mounted directory permissions #55

Open
tslater opened this issue May 2, 2014 · 2 comments
Open

Can't set mounted directory permissions #55

tslater opened this issue May 2, 2014 · 2 comments

Comments

@tslater
Copy link

tslater commented May 2, 2014

When I mount a directory from my local fs

ex:

docker run -i -v /Users/tyler/docker/data:/var/lib/mysql 3af0265e97e1 /bin/bash

I get weird permissions issues:

drwxr-xr-x 1 1000 1000 68 May 2 16:17 mysql

Am I doing it wrong? Is my installation of the VM corrupted? Is this a bug?

@tslater
Copy link
Author

tslater commented May 2, 2014

I'm totally new to virtualbox and not good with hardware/mounting issues in general so I'd appreciate some help.

I'm wondering if this link would help: http://ubuntuforums.org/showthread.php?t=1398340

Look at comment number 7

@tslater
Copy link
Author

tslater commented May 4, 2014

Does this have anything to do with the fact that on the virtual machine all the files are owned by vagrant? Is there no way to allow permissions to my docker container?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant