Score:0

How to let homeless user operate unsafe repository

us flag

After version 2.35, git will fail when doing git operation if user is not the owner of git repository due to a patch for a CVE issue.

A quick fix(Well, I think it is just a temporarily method.) for users with home is setting git config.

git config --global --add safe.directory {git repo path}

However, this method cannot apply to a homeless user. Git config need to lay in user's home directory.

How to let homeless user operate unsafe repository (setting some environment variable)?

djdomi avatar
za flag
how could a user homeless while have access and accessing a server?
in flag
I don't know enough about this, but I wonder if you can apply the safe.directory to the system-wide git config (git config --system)?
Mudream avatar
us flag
@djdomi a process runner
Mudream avatar
us flag
@Zoredache but this operation affects every user.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.