isetbio / notebooks

Interactive notebooks for demonstrating isetbio.
The Unlicense
2 stars 1 forks source link

Permissions for git pull on isetbio #1

Open DavidBrainard opened 8 years ago

DavidBrainard commented 8 years ago

@benjamin-heasly

I wanted to update isetbio onto the Jupyter hub server, but got a permissions error as below.

brainarddavid0@gmail.com@2c1abfbd2bde:/srv/toolbox-toolbox/toolboxes$ ls
RemoteDataToolbox isetbio
brainarddavid0@gmail.com@2c1abfbd2bde:/srv/toolbox-toolbox/toolboxes$ cd isetbio/
brainarddavid0@gmail.com@2c1abfbd2bde:/srv/toolbox-toolbox/toolboxes/isetbio$ git pull
error: cannot open .git/FETCH_HEAD: Permission denied

brainarddavid0@gmail.com@2c1abfbd2bde:/srv/toolbox-toolbox/toolboxes/isetbio$

benjamin-heasly commented 8 years ago

I think I fixed the permissions for our shared repositories.

It turns out there is a Git mechanism for this, controlled by the config called core.sharedRepository.

I applied this to the running server. I also updated our Dockerfile so it should be in place next time we deploy a server.

I was able to do git pull from two Jupyter accounts. Can you git pull now?