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