From: <rsbecker@nexbridge.com>
To: <git@vger.kernel.org>
Subject: [Question] etc/gitconfig and .gitconfig missing errors
Date: Sat, 11 Jan 2025 10:07:57 -0500 [thread overview]
Message-ID: <021501db643a$9c5357b0$d4fa0710$@nexbridge.com> (raw)
Hi All,
Question from my community. The standard git install does not automatically
create
the /usr/local/etc directory if it does not exist, so the git config
--system fails.
If etc/gitconfig is missing, the command also fails. Similarly, if
~/.gitconfig is missing,
git config -global fails.
Is this intended? I have been telling my people that they should pre-create
those files
with appropriate security. I have mused that having git auto-create this
file may
introduce potential CVEs, explaining the situation. Is this assumption
correct?
Thanks,
Randall
--
Brief whoami: NonStop&UNIX developer since approximately
UNIX(421664400)
NonStop(211288444200000000)
-- In real life, I talk too much.
next reply other threads:[~2025-01-11 15:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-11 15:07 rsbecker [this message]
2025-01-13 6:01 ` [Question] etc/gitconfig and .gitconfig missing errors Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='021501db643a$9c5357b0$d4fa0710$@nexbridge.com' \
--to=rsbecker@nexbridge.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.