From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68328 invoked by alias); 26 Jan 2017 10:52:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 68314 invoked by uid 89); 26 Jan 2017 10:52:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=4348, Administrators, UD:faq.html, faq.html X-HELO: authsmtp.register.it Received: from authsmtp12.register.it (HELO authsmtp.register.it) (81.88.48.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jan 2017 10:52:34 +0000 Received: from [192.168.0.114] ([88.122.116.13]) by paganini31 with id cysW1u00B0HR4oQ01ysXmU; Thu, 26 Jan 2017 11:52:31 +0100 X-Rid: olivier.faurax@anyces.com@88.122.116.13 Subject: /bin/sh is not really bash? [was: git stash damaged?] To: cygwin@cygwin.com References: <79a57b23-6050-e3d6-3cc9-776eade485af@SystematicSw.ab.ca> From: Olivier FAURAX Message-ID: <1939fb92-8d67-4861-d7c8-5f5abca68496@anyces.com> Date: Thu, 26 Jan 2017 10:52:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <79a57b23-6050-e3d6-3cc9-776eade485af@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2017-01/txt/msg00316.txt.bz2 Le 20/01/2017 à 16:20, Brian Inglis a écrit : > Looks similar to mine except my group owner is Administrators. > Only thing I can suggest is run admin/elevated bash then > chgrp Administrators /usr/libexec/git-core/* > using local language for Administrators and retest if that makes > any difference? I found a workaround by replacing: #!/bin/sh by: #!/bin/bash in the first line of /usr/libexec/git-core/git-submodule This might be related to: https://cygwin.com/faq/faq.html#faq.using.shell-scripts However, I didn't change any permission when "bash" worked instead of "sh". Also, the previous link says that "/bin/sh is really bash", but: $ /bin/sh --version $ /bin/bash --version GNU bash, version 4.3.48(8)-release (x86_64-unknown-cygwin) Is this expected? Thanks for the help, Olivier -- 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