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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 >> 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/