delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/26/05:53:04

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=RhduN1R5BLYnSki9
JD43n9BuMmgfX3QRg5TlA28StVUnBzLH3aWXdM+qtHgcl/3T1xcpL0obSVkTCx5I
J0fLziCTy9YHcB6Yl4zIM86MK4c2ikHXTQPbawryGLpp+Jo8JpMy/Ljj5b6HwAjN
DFmnb1Tyl8aUtJqIqEWqSeGVLVI=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=9wrwQHuPcTxhHGE+Du5CNj
w8+64=; b=NqkF57jiaDTbciGHRiIlT8u1bAXnCG8g8g9PLr/5aHCe/UmvjMSQbp
k/flXLV72P86FBJbmevrFP5BAu7TWRa/VaTv4emy83Fz/vD+XxgSI5w9xroq4nH3
2Mr53zplIQrn79+ih1Pc3VtkKJ4FFQdzvUnxVi/hWVJG1vMcsEKnw=
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: 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
X-Rid: olivier DOT faurax AT anyces DOT com@88.122.116.13
Subject: /bin/sh is not really bash? [was: git stash damaged?]
To: cygwin AT cygwin DOT com
References: <79a57b23-6050-e3d6-3cc9-776eade485af AT SystematicSw DOT ab DOT ca>
From: Olivier FAURAX <olivier DOT faurax AT anyces DOT com>
Message-ID: <1939fb92-8d67-4861-d7c8-5f5abca68496@anyces.com>
Date: Thu, 26 Jan 2017 11:52:27 +0100
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>

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

- Raw text -


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