delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/14/07:04:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_FN,TW_HF,TW_RW,TW_WX
X-Spam-Check-By: sourceware.org
Message-ID: <50530F64.8000009@lysator.liu.se>
Date: Fri, 14 Sep 2012 13:05:08 +0200
From: Peter Rosin <peda AT lysator DOT liu DOT se>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: quilt: permission denied problems with helper scripts
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

Hi!

When working on some newlib patches, ran into this:

peda AT pulkan ~/newlib/src/newlib
$ quilt refresh
/usr/share/quilt/refresh: line 253: /usr/share/quilt/scripts/remove-trailing-ws: Permission denied
Patch patches/wordexp-avoid-strdup.patch is unchanged

peda AT pulkan ~/newlib/src/newlib
$ ls -lG /usr/share/quilt/scripts
total 68
-rwxr-xr-x 1 peda  6219 May 24  2011 backup-files
-rw-r--r-- 1 peda 13114 May 24  2011 dependency-graph
-rw-r-xr-x 1 peda  5910 May 24  2011 edmail
-rwxr-xr-x 1 peda  4642 May 24  2011 inspect
-rw-r--r-- 1 peda  3397 May 24  2011 parse-patch
-rw-r--r-- 1 peda 18389 May 24  2011 patchfns
-rw-r--r-- 1 peda  3491 May 24  2011 remove-trailing-ws

All those files are scripts with shebangs, and I assume they
should all be chmod +x, and indeed that fixes the "quilt refresh"
problem (and a similar problem in "quilt mail" when it tries to
execute edmail).

Please fix the packaging bug.

Cheers,
Peter

--
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