I was wondering why Git would still ask me for a password, even though I have: ``` # cat .gitconfig [credential] helper = cache --timeout 86400 ``` Reading the source [1] I tried: ``` # /usr/libexec/git-core/git-credential-cache --timeout=86400 store ^D fatal: cannot run git-credential-cache--daemon: No such file or directory fatal: unable to start cache daemon: No such file or directory ``` [1]: https://github.com/git/git/blob/master/credential-cache.c Next I straced the process: ``` # strace /usr/libexec/git-core/git-credential-cache --timeout=86400 store ^D [...] stat("/usr/lib/llvm/7/bin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/usr/lib/llvm/6/bin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/usr/local/sbin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/usr/sbin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/usr/bin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/sbin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/bin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) stat("/opt/bin/git-credential-cache--daemon", 0x7ffc44e87380) = -1 ENOENT (No such file or directory) [...] write(2, "fatal: cannot run git-credential"..., 74fatal: cannot run git-credential-cache--daemon: No such file or directory ) = 74 [...] write(2, "fatal: unable to start cache dae"..., 63fatal: unable to start cache daemon: No such file or directory ) = 63 exit_group(128) = ? +++ exited with 128 +++ ``` On Gentoo the binary is located here: ``` # q list -e git | grep git-credential-cache--daemon /usr/libexec/git-core/git-credential-cache--daemon ``` It seems that either the binary should be in the default `PATH` or Git should be fixed to also search in `/usr/libexec/git-core`.