Git issue

195 views
Skip to first unread message

John Haase

unread,
Oct 11, 2016, 11:14:38 AM10/11/16
to zapdos-users
All,

I am trying to commit to git. However, I get the error

$ git push jhaase1 master
fatal: unable to bind to '/afs/crc.nd.edu/user/j/jhaase1/.git-credential-cache/socket': Operation not permitted
fatal: cache daemon did not start:
fatal: unable to bind to '/afs/crc.nd.edu/user/j/jhaase1/.git-credential-cache/socket': Operation not permitted
fatal: cache daemon did not start:
Everything up-to-date

Any I looked and I don't even have /afs/crc.nd.edu/user/j/jhaase1/.git-credential-cache/socket

.  ..
What's going on?

John

Alexander Lindsay

unread,
Oct 11, 2016, 9:50:29 PM10/11/16
to zapdos...@googlegroups.com
Is this happening on your cluster? What's the permissions on the .git-credential-cache folder? The closest thing I'm finding here is http://stackoverflow.com/questions/14145783/git-pull-permission-denied-linux/14160580#14160580 and https://git-scm.com/docs/git-credential-cache
--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/deab366d-1307-4ca3-853a-660ad312cdac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Haase

unread,
Oct 11, 2016, 10:13:02 PM10/11/16
to Zapdos
It is on the cluster. And I saw that StackOverflow post

$ ls -la .git-credential-cache
total 6
drwx------  2 jhaase1 campus 2048 Sep 21 23:10 .
drw------- 42 jhaase1 campus 4096 Oct 11 22:10 ..
$ ls -la .git-credential-cache/*
ls: No match.


Regards,

John R. Haase

On Tue, Oct 11, 2016 at 9:50 PM, Alexander Lindsay <adli...@ncsu.edu> wrote:
Is this happening on your cluster? What's the permissions on the .git-credential-cache folder? The closest thing I'm finding here is http://stackoverflow.com/questions/14145783/git-pull-permission-denied-linux/14160580#14160580 and https://git-scm.com/docs/git-credential-cache


On 10/11/2016 10:14 AM, John Haase wrote:
All,

I am trying to commit to git. However, I get the error

$ git push jhaase1 master
fatal: unable to bind to '/afs/crc.nd.edu/user/j/jhaase1/.git-credential-cache/socket': Operation not permitted
fatal: cache daemon did not start:
fatal: unable to bind to '/afs/crc.nd.edu/user/j/jhaase1/.git-credential-cache/socket': Operation not permitted
fatal: cache daemon did not start:
Everything up-to-date

Any I looked and I don't even have /afs/crc.nd.edu/user/j/jhaase1/.git-credential-cache/socket

.  ..
What's going on?

John
--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users+unsubscribe@googlegroups.com.

To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/deab366d-1307-4ca3-853a-660ad312cdac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "zapdos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/zapdos-users/RhU3I8BuzbE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to zapdos-users+unsubscribe@googlegroups.com.

To post to this group, send email to zapdos...@googlegroups.com.

Alexander Lindsay

unread,
Oct 11, 2016, 10:31:50 PM10/11/16
to zapdos...@googlegroups.com
This seems like it might be important from the git documentation:

--socket <path>

Use <path> to contact a running cache daemon (or start a new cache daemon if one is not started). Defaults to ~/.git-credential-cache/socket. If your home directory is on a network-mounted filesystem, you may need to change this to a local filesystem. You must specify an absolute path.

If you don't care about entering your credentials all the time, you might try doing:

git config credential.helper 'cache --timeout=0'

Then maybe it wouldn't try to contact the troublesome cache.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.

To post to this group, send email to zapdos...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages