Open mbrodala opened 7 years ago
Hi @mbrodala. Thanks for the heads up here.
What OS are you running? Are you using netfs or native? (~/.nanobox/config.yml)
Thanks
I'm on Windows 10 and this is my nanobox config:
# provider configuration options (docker-machine|native)
provider: "docker-machine"
# This next section is used by the docker-machine setup only
# mount type (native|netfs)
mount-type: native
# number of cpus you want docker-machine to have access to
cpus: 4
# number of gigabytes of ram you want docker-machine to use
ram: 4
I've switched to native
to avoid the password prompt on launch. It works fine with netfs
AFAIS. So do you think this is fixable for native
or is this a limitation which cannot be bypassed?
@notxarb I'm guessing the native mount is mapping the user to root. We'll need to figure out if we can map the user id properly to the gonano (501?) user id.
@mbrodala With a bit of digging I'm sure we can fix this. As a word of caution, the native driver is very slow and has proven to be unreliable on windows in some scenarios. I think there is an open ticket somewhere about rsync failing to copy files during deploy.
Thanks!
When running
composer install
I see some permission issues:On a subsequent
composer install
the error becomes a bit more verbose:I am not able to manually delete the mentioned directory:
Only removing it on the host system allows me to remove the directory and brings me back to the state before the first Composer installation.