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

Re: git gc changes ownerships of files linux

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Feb 11, 2024, 19:09 UTC
Message-ID
<ZckbeJqdvIfY4YPu@tapette.crustytoothpaste.net>
In-Reply-To
<xmqqcyt39cju.fsf@gitster.g>
On 2024-02-11 at 16:43:33, Junio C Hamano wrote:
Show 5 quoted lines
> 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.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Torsten BögershausenNext: rsbecker@nexbridge.com
Message 7 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.