Permissions/Ownership is not applied on some files when using packagist's composer

Trying out the new beta, and on shared volumes when I execute ‘composer’ package manager to import my PHP package dependencies for an app, some of the ‘vendor/’ files and directories appear like this.

-??? ? ? ? ? ? ChoiceFormField.php
-??? ? ? ? ? ? FileFormField.php
-??? ? ? ? ? ? FormField.php
-d??? ? ? ? ? ? Fields

Then of course my app fails as it cannot find any of these files as there are no associated permissions. If I try and set the permissions and ownership I receive the following:

chown: changing ownership of ‘./guzzlehttp/psr7/tests/LazyOpenStreamTest.php’: No such file or directory

If I perform the same actions without -v shared volumes I don’t experience the this issue. Also, if I perform the same actions on a linux docker host instead of osx, again, the issue is not present.

Docker 1.11.1-beta12
OSX EI Capitan 10.11.1

Any ideas?

Thanks

1 Like

Same Issue with a php-fpm image and composer installed on it.

I have exactly same issue

Created a simplified example of the problem (linked below). It’s not composer specific, it’s filesystem and shared volume specific.

1 Like