Re: Unable to create temporary file '/var/git/tmv3-target-overlay.git/shallow_Un8ZOR': Permission denied
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 21, 2015, 16:48 UTC
- Message-ID
- <xmqqpp1bbtvz.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CACsJy8DFpLLtc7+Mix1d=Hy8h-duUqt4Y8WYsRL1nEryizoeww@mail.gmail.com>
Duy Nguyen <pclouds@gmail.com> writes:
> Is it really necessary to remove write access in $GIT_DIR? Do we (git > devs) have some guidelines about things in $GIT_DIR?
Those who are allowed to "git push" into it should be able to write there. It is a different matter that "git" program itself may make a policy decision to disallow some operations that the filesystem bits alone would have allowed (e.g. you can arrange the "pusher" to only come over the wire via "receive-pack" and "receive-pack" may deliberately lack support for writing into $GIT_DIR/config).