Re: No fchmod() under msygit - Was: Re: [PATCH 00/14] Add submodule test harness
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Jul 14, 2014, 11:31 UTC
- Message-ID
- <CABPQNSY5x_JOsxyKn7xZ9nc5TJ0yHdNvam0htyX01U58bvV7vg@mail.gmail.com>
- In-Reply-To
- <20140709200046.GB17454@dcvr.yhbt.net>
On Wed, Jul 9, 2014 at 10:00 PM, Eric Wong <normalperson@yhbt.net> wrote:
Show 12 quoted lines
> Torsten Bögershausen <tboegi@web.de> 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.
You're saying this as if Windows is a single-user system. It's not, but it uses ACLs rather than POSIX permissions to manage file-system permissions. So far we've opted to ignore ACLs in Git for Windows, though.