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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=BhTVNo1IKuzfqLsW OE67OoQoyeCiTul/S4GWoWrRt7O9VsoeIVlhU1f2KR5mMIYSg0+Y0IcMWYdT+FKd B70UzbZc8YGeGruqUIuk+3pb1H0OcFYL9wYbdX0IeUnztkYmGcytCId80aNfO9IW l+4qlIJs6jY65lpPiPPsEltNCPI= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=W2ARSeda9c5UO97nNvhtL5 3WaoY=; b=HwdoOshabAJthGVzz6SgD9HGnXHuRnuMcviW7OUkOvqvFtMx7Lp81g MWGR8yBPryii3X/mbMHuKojwxGOCWMBvfT8X5u2eaTSv4Y/p4/A/eJVuSAVrYgm+ 3XyU4jrn2VI7DVT0rSou5g9Peo2nle60b4+e/ldIjrAUb0t9ZW0Ck= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Fri, 17 Jul 2015 22:16:00 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1839670145.20150717221600@yandex.ru> To: schilpfamily , cygwin AT cygwin DOT com Subject: Re: bat files not automatically assumed to be executable In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, schilpfamily! > i updated my cygwin area recently and now windows bat files will not > execute with "Permission denied" error message. in addition the bat > file has permission 644. > previous to updating cygwin, all bat files had the execute bit set and > were always executable. on the documentation for cygwin, it explicitly > says that bat, com and exe files are always executable in cygwin. has > this changed?? and if so, why?? this makes it really painful.... If you bar file is located under cygwin root, you must explicitly give it executable permissions. If it is located outside Cygwin root, you may go away with deferring ACL control to Windows. I.e. by amending /etc/fstab to something like none /cygdrive cygdrive binary,posix=0,noacl 0 0 Ref: https://cygwin.com/cygwin-ug-net/using.html#cygdrive -- With best regards, Andrey Repin Friday, July 17, 2015 22:11:36 Sorry for my terrible english... -- 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