delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/02/04:47:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 2 Mar 2009 10:46:44 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Fw: patch command giving permission denied
Message-ID: <20090302094644.GF10046@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <76EA06B4A53C488DB402A0A8574A49B8 AT HPLAPTOP> <49AB0767 DOT 8040002 AT dazjorz DOT com>
MIME-Version: 1.0
In-Reply-To: <49AB0767.8040002@dazjorz.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mar  1 23:08, Sjors Gielen wrote:
> Aaron Gray schreef:
>> On Sat, Feb 28, 2009 at 1:30 AM, Aaron Gray  
>> <aaronngray DOT lists AT googlemail DOT com> wrote:
>>> I am getting the following on executing the patch command :-
>>>
>>>  bash: /usr/bin/patch: Permission Denied
>>>
>>> It works on my other Vista machine okay (That is an Enterprise one  
>>> rather than a Home version)
>>>
>>> Anyone got any ideas why and how to fix it
>>
>> It works fine on my other Vista Home machine.
>> It works okay if I run cygwin bash as an administrator.
>> Why is this machine behaving differently and how do I fix it ?
>> I tried reloading Cygwin from scratch, but that did not help.
>>
>> Aaron
>
> I had this problem too. It's because of the new UAC in Windows. You need  
> to add a .manifest file, because patch.exe contains one of "install",  
> "setup" and "patch", which UAC does not trust right away. It's  

The latest patch package 2.5.8-9 comes already with a manifest file.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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