git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: git gc changes ownerships of files linux

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Feb 11, 2024, 19:48 UTC
Message-ID
<006101da5d23$436ff460$ca4fdd20$@nexbridge.com>
In-Reply-To
<ZckbeJqdvIfY4YPu@tapette.crustytoothpaste.net>
On Sunday, February 11, 2024 2:10 PM, brian m. carlson wrote:
Show 16 quoted lines
>On 2024-02-11 at 16:43:33, Junio C Hamano wrote:
>> You definitely must set up your initial directory with g+s if you are
>> usihng the group-writable shared directory model (which I would
>> actually be surprised to see in 2020---is a shared machine with more
>> than one user-account still a thing???); adjust_shared_perm() will not
>> help you there.
>
>I think it's relatively common to have shell hosts from which to log into production
>machines, or to have shared hosts for students at universities, and I do know that
>shared web hosting is still quite popular (because it tends to be very economical and
>low maintenance for the user).
>
>I don't know that shared repositories are really that common anymore, and I do
>usually recommend that people clone their own copies whenever possible, but I
>have seen posts on StackOverflow where people are in fact using a shared
>repository (possibly with multiple worktrees) on one system for various reasons.
In my community, shared repositories are particularly common on the operations side of the fence. It is a balance between the need for one user id (generally does not log on) running the scripts, and the individual operations staff specifying them. I have developed (commercial) solutions to this that remove the need shared repositories in this circumstance, but up to now, I have seen them used. This comes into play when multiple people are manipulating web server content without a separate deployment mechanism.
Previous: brian m. carlson
Message 8 of 8 in “git gc changes ownerships of files linux”
  1. K_VFeb 10, 2024
  2. Torsten BögershausenFeb 11, 2024
  3. brian m. carlsonFeb 11, 2024
  4. Torsten BögershausenFeb 11, 2024
  5. Junio C HamanoFeb 11, 2024
  6. Torsten BögershausenFeb 11, 2024
  7. brian m. carlsonFeb 11, 2024
  8. rsbecker@nexbridge.comFeb 11, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.