Re: git /objects directory created 755 by default?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Thursday, December 22, 2005 - 4:27 am

Hi,

On Thu, 22 Dec 2005, Andreas Ericsson wrote:


It was the thread "How to set up a shared repository".

Okay, so there you are. You have a write-shared repository with the HEAD 
checked out. Somebody wants to push to that with different credentials 
than the user who checked out the files. Do you plainly deny updating the 
current HEAD?

If you do, then you better give the pushing user (pun intended) a way to 
update the checked out files. You can do this by (tadaah) setting the 
umask to 0002 also for working files.

Yes, we could find out exactly where writes happen inside GIT_DIR and plug 
in shared.umask which is only applied in these cases, but I am totally 
unconvinced that this is worth the hassle. In my cases, I am perfectly 
helped by a umask which is respected throughout git, and the patch is 
simple enough to be reviewed in 5 minutes.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git /objects directory created 755 by default?, Junio C Hamano, (Wed Dec 21, 3:10 pm)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Wed Dec 21, 3:20 pm)
Re: git /objects directory created 755 by default?, Andreas Ericsson, (Thu Dec 22, 2:45 am)
Re: git /objects directory created 755 by default?, Alex Riesen, (Thu Dec 22, 3:11 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 4:27 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 4:35 am)
Re: git /objects directory created 755 by default?, Andreas Ericsson, (Thu Dec 22, 5:28 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 7:37 am)
Re: git /objects directory created 755 by default?, Alex Riesen, (Thu Dec 22, 7:38 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 8:09 am)
Re: git /objects directory created 755 by default?, Alex Riesen, (Thu Dec 22, 8:14 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 8:52 am)
Re: git /objects directory created 755 by default?, Andreas Ericsson, (Thu Dec 22, 8:53 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 9:03 am)
Re: git /objects directory created 755 by default?, Andreas Ericsson, (Thu Dec 22, 9:52 am)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 10:31 am)
Re: git /objects directory created 755 by default?, Junio C Hamano, (Thu Dec 22, 12:14 pm)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 12:28 pm)
Re: git /objects directory created 755 by default?, Junio C Hamano, (Thu Dec 22, 1:15 pm)
Re: git /objects directory created 755 by default?, Johannes Schindelin, (Thu Dec 22, 1:27 pm)