Re: shared permissions on COMMIT_EDITMSG
- From
- Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
- Date
- Jan 28, 2010, 11:14 UTC
- Message-ID
- <20100128111425.GA29577@Knoppix>
- In-Reply-To
- <4B61569A.1010808@gmail.com>
On Wed, Jan 27, 2010 at 11:19:22PM -1000, William Pursell wrote:
Show 5 quoted lines
> With git-init --shared=0660 and a umask of 022, > the first commit to the repository creates > the file COMMIT_EDITMSG with mode 0644 > instead of 0660. I believe this is incorrect > behavior. Simple fix:
COMMIT_EDITMSG is related to committing, committing needs working copy, and shared working copies don't work all too well (and Git can't do anything about that because all kinds of stuff edits the files there, not just Git).
Shared repository settings are meant to override umasks for files in actual repository itself.
-Ilari