delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/09/14:34:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; q=dns; s=default; b=Li+
CeQ0rDof5wX7sR2+Y2Ujbr4uaXkVPDERNt7N8WSJNOkTITG/KdX6nZPaG2eqkLXy
TJ+8q80gKLNugZJtWGesCGyAUsMZRE5gMpPKKEf5a7kxVIsMXhREWWo5Az/1N5mR
L04QLXaoQMupVluOAQAXz+YbsA5uWBzmBLgiSKng=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; s=default; bh=kQrHtwnnc
yi0vShcZuJHLvmoAhQ=; b=OaAQ7E7CbPJTL4Z4JBywE7UCQgd6a07pTw7YucYyk
R7ph8paIY2mdzRHDsk7iMNICvKGFWh+INi3bLAYCzqBWcbco53YnFM5kXW6B2p9X
NRrqErEyNqX2lAvse7WS8uwafp2qYfpwj+/Qe1Q0a9BxB5xTb+b+A6G/MkZBq8qW
Vs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=2.8, creator, didn=e2, didn?=
X-HELO: mail-wm0-f44.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-transfer-encoding; bh=WRmUGfOgaRgvWzigr8CdK4Ma35IWa5lGX5siWciIDuk=; b=QspI1I9SxfkyJcKHQ8cSCCIGGEVXN2UXrYVQMqhnqzDD2CQfNBWkMg+oasr85esvQT sM6+cwXhng2sdM4/JZCHq6iJUsbaYGKrrq/KgBqf8w9s9BiXHthVURRFJlexr9w9RgDG HFiaSC1T9VZbWDEY0//XKd2wJF+r9YdN/xqw4rrQG195qSKj92Y7V1PUqOeayzYHbKqT rJS/YZbVlzo48GWglkpQlCSc02gmmEYUIRv8BcAyIfDz3v9R1AdCDoGFzH1lne9Bl41u 197oWIIo8uAgjbTsuFXGEldKBtNLmU6EB4OHWhnRW6bTa/kunfISczf+nfh9RWbuWcJB FPiQ==
X-Gm-Message-State: AOPr4FUtKU3z/03MviQsw+yNmr1FhTPAiFFz9ySUnYKJuXd7VLXfu+97fZUFjTaY/zmvMBOS4LY5X/ubq8aQ6g==
MIME-Version: 1.0
X-Received: by 10.28.154.73 with SMTP id c70mr13217118wme.12.1462818849007; Mon, 09 May 2016 11:34:09 -0700 (PDT)
Date: Mon, 9 May 2016 14:34:08 -0400
Message-ID: <CADMefsZZ0MbUhWGfvUdiSTf4UPrCbvTwrmjP84q5TvWcPv10dg@mail.gmail.com>
Subject: Possible issue with newest version of git (v 2.8) under Cygwin
From: andrew stern <astern DOT fix8 DOT forum AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u49IYPMn010341

Recently I upgraded to version 2.8.0 of git on cygwin.  I’m running
under Windows 2008 R2.  Before this upgrade we were able to share a
NFS drive as a main repository.  After the upgrade the permissions
were changed so that only a single person had write access to the
repository on a shared NFS drive.  When the push is done to the NFS
drive these permissions cause deny write access to the other users of
the repository so we couldn’t update the sha1 of the head reference.
An example of the incorrect permissions are:


Allow     User                         Special            not
inherited      This folder only
Allow     dev                          Special            not
inherited     This folder only
Allow     Everyone                     Read & execute     not
inherited      This folder, subfolders and
Allow     Administators for machine    Special            not
inherited      This folder only
Allow     SYSTEM                       Special            not
inherited      This folder only
Allow     Users for machine            Special            not
inherited      This folder only
Allow     CREATOR OWNER                Special            not
inherited     Subfolders and files only
Allow     CREATOR GROUP                Special            not
inherited     Subfolders and files only

But the Windows permissions should have been inherited only.  Also not
the group dev is not in the list.  The permissions after a push showed
dev on the shared NFS drive along with errors that the permissions
were out of order.

Allow     Administators           Full Control       D:\  This folder,
subfolders and
Allow     SYSTEM                  Full Control       D:\  This folder,
subfolders and
Allow     User                    Special            D:\  This folder only
Allow     CREATOR OWNER           Special            D:\  Subfolders
and files only
Allow     User on Machine         Read & execute     D:\  This folder,
subfolders and
Allow     User on Machine         Special            D:\  This folder,
subfolders


After searching through new groups and the web it was decided to add
noacl to the fstab for the cygwin mount:

none /cygdrive cygdrive binary,posix=0,user,noacl 0 0

Now we are finding that the git merge onto our local drive after a
fetch from the NFS shared repository is taking a very long time.
(shown with >> in front on below line)

$ git pull origin MCSTRATEGY_4_4
13:01:16.587064 git.c:351               trace: built-in: git 'pull'
'origin' 'MCSTRATEGY_4_4'
13:01:16.752064 run-command.c:336       trace: run_command: 'fetch'
'--update-head-ok' 'origin' 'MCSTRATEGY_4_4'
13:01:16.790064 exec_cmd.c:120          trace: exec: 'git' 'fetch'
'--update-head-ok' 'origin' 'MCSTRATEGY_4_4'
13:01:16.821064 git.c:351               trace: built-in: git 'fetch'
'--update-head-ok' 'origin' 'MCSTRATEGY_4_4'
13:01:17.069064 run-command.c:336       trace: run_command:
'git-upload-pack
'\''/cygdrive/s/StrategyServers/git/gitbmssorsrc.git/.'\'''
13:01:17.136064 run-command.c:195       trace: exec: '/bin/sh' '-c'
'git-upload-pack
'\''/cygdrive/s/StrategyServers/git/gitbmssorsrc.git/.'\'''
'git-upload-pack
'\''/cygdrive/s/StrategyServers/git/gitbmssorsrc.git/.'\'''
13:01:18.084064 run-command.c:336       trace: run_command: 'rev-list'
'--objects' '--stdin' '--not' '--all' '--quiet'
13:01:18.229064 run-command.c:336       trace: run_command: 'rev-list'
'--objects' '--stdin' '--not' '--all'
13:01:18.284064 exec_cmd.c:120          trace: exec: 'git' 'rev-list'
'--objects' '--stdin' '--not' '--all'
13:01:18.314064 git.c:351               trace: built-in: git
'rev-list' '--objects' '--stdin' '--not' '--all'
From /cygdrive/s/StrategyServers/git/gitbmssorsrc.git/.
 * branch            MCSTRATEGY_4_4 -> FETCH_HEAD
13:01:18.367064 run-command.c:952       run_processes_parallel:
preparing to run up to 1 tasks
13:01:18.373064 run-command.c:984       run_processes_parallel: done
13:01:18.375064 run-command.c:336       trace: run_command: 'gc' '--auto'
13:01:18.410064 exec_cmd.c:120          trace: exec: 'git' 'gc' '--auto'
13:01:18.440064 git.c:351               trace: built-in: git 'gc' '--auto'
13:01:18.454064 run-command.c:336       trace: run_command: 'merge' 'FETCH_HEAD'
13:01:18.486064 exec_cmd.c:120          trace: exec: 'git' 'merge' 'FETCH_HEAD'
>> 13:01:18.517064 git.c:351               trace: built-in: git 'merge' 'FETCH_HEAD'
Updating 9c40e07..a0f35eb
Fast-forward
13:18:39.432839 run-command.c:336       trace: run_command: 'gc' '--auto'
13:18:43.559539 exec_cmd.c:120          trace: exec: 'git' 'gc' '--auto'
13:18:43.623539 git.c:351               trace: built-in: git 'gc' '--auto'
 file.cpp | 5 +++--

First question is could this very large delay on git merge be caused
by the noacl?  If noacl is causing this very large delay (which I
suspect to be the case since we didn’t have this large delay till the
noacl was added) is there another way to fix the permission issue when
using an NFS drive as a shared repository?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019