Thread (12 messages) 12 messages, 4 authors, 2016-06-15

Re: Error: unable to unlink ... when using "git gc"

flat view

From: Boyd Stephen Smith Jr. <hidden>
Date: 2016-06-15 22:45:52

On Wednesday 2009 January 07 04:55:56 you wrote:
On 2009-01-07, Boyd Stephen Smith Jr. [off-list ref] wrote:
quoted
On Tuesday 06 January 2009, Sitaram Chamarty [off-list ref]
wrote=20
quoted
   chmod g+ws .git

Now set the group to something (I use "gitpushers" ;-)

   chgrp -R gitpushers .git
ISTR this breaking here when someone on the team had a umask like 077
and=20 was using file:// or ssh:// to push.  I tended up "fixing" things
with a=20 cronjob, (which is a bit of a hack) IIRC.
That doesn't sound right.  "git help init" says:
 - 0xxx: 0xxx is an octal number and each file will have mode 0xxx
 - 0xxx will override users umask(2) value, and thus, users
   with a safe umask (0077) can use this option
 - 0660 is equivalent to group.

So when you say "group", you're saying "0660", and when you
say "0660", you're overriding users umask value.
Very good then.  It is from when I was significantly less experienced in using 
git and managing repos, so I may have forgotten to use the correct options OR 
it could just have been the version of git I was using (1.4.4.4, IIRC) -- 
still using that in at least one place, as it is the current version in 
Debian Etch.

It's good to know it works properly now, if all the right switches are set.
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help