From: Eric Wong Date: Wed, 09 Jul 2014 20:00:46 GMT Subject: Re: No fchmod() under msygit - Was: Re: [PATCH 00/14] Add submodule test harness Message-ID: <20140709200046.GB17454@dcvr.yhbt.net> In-Reply-To: <53BCE3A7.8070600@web.de> Torsten Bögershausen wrote: > (And why is it "& 07777" and not "& 0777") This is to preserve the uncommon sticky/sgid/suid bits. Probably not needed, but better to keep as much intact as possible. > Can we avoid the fchmod() all together ? For single-user systems, sure. For multi-user systems with git-imap-send users and passwords in $GIT_CONFIG, I suggest not.