jefferyb / docker-polymer-cli

This is image contains a set of necessary tools for Polymer CLI Development
8 stars 9 forks source link

Permissions error #2

Open fresnizky opened 7 years ago

fresnizky commented 7 years ago

I'm getting this error while trying to init a polymer project:

mkdir polymer-app
cd polymer-app/
docker run --rm -v $(pwd):/home/polymer/app jefferyb/polymer-cli polymer init starter-kit
info:    Running template polymer-init-starter-kit:app...
info:    Downloading latest release of PolymerElements/polymer-starter-kit
info:    Unpacking template files
error:   Uncaught exception: Error: EPERM: operation not permitted, utime '/home/polymer/app/'
error:   Error: EPERM: operation not permitted, utime '/home/polymer/app/'
    at Error (native)
hershkoy commented 6 years ago

+1

hershkoy commented 6 years ago

@fresnizky I wonder if this related to OS. I am running windows 7 with "docker toolbox".

lamathop commented 6 years ago

Quite late ... but you could try to add --user $(id -u):$(id -g) in your docker run. Your container should then have all the necessary permissions.