Johannes Sixt <j6t@xxxxxxxx> writes: > However, if Fritz runs 'sudo /usr/local/bin/git clone ...', then the interim > PATH is "/usr/local/bin:/usr/local/libexec/git-core:/bin:/usr/bin" because > this time setup_path() finds a non-empty argv0_path, and the command works. Ahh, that is what I was missing. As I said elsewhere already, I personally do not think sudo is worth supporting compared to the cost of this kind of pain resulting from its misguided "safety" brokenness, but apparently it is widely used. I think what Peff suggests in this thread might be a reasonable workaround. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html