Re: git /objects directory created 755 by default?

From: Junio C Hamano <junkio@cox.net>
Date: 2005-12-21 10:43:56
Martin Langhoff <martin.langhoff@gmail.com> writes:

> Since git changed to creating the objects subdirectories "on demand",
> these are created 755 regardless of the user's umask. This is quite
> inconvenient in ("cvs style") team-shared repositories, which work
> great otherwise.

Hmph.

I have 002 as umask. .git/objects or .git/objects/[0-9a-f]{2}
directories are created 0775 for me.

Do we have hardcoded 0755 that we need to change to 0777
somewhere?  sha1_file.c::safe_create_leading_directories() is
the primary code that creates directories lazily, and we mkdir
with 0777 there.

-
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
Received on Wed Dec 21 10:44:32 2005

This archive was generated by hypermail 2.1.8 : 2005-12-21 10:44:38 EST