www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43F85194.40109@student.lu.se> |
Date: | Sun, 19 Feb 2006 12:08:04 +0100 |
From: | Lennart Borgman <lennart DOT borgman DOT 073 AT student DOT lu DOT se> |
User-Agent: | Thunderbird 1.5 (Windows/20051201) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Perl creates html-file, view from cmd.exe => Access is denied |
References: | <43F25AF8 DOT 2010209 AT student DOT lu DOT se> <Pine DOT GSO DOT 4 DOT 63 DOT 0602141806510 DOT 25038 AT access1 DOT cims DOT nyu DOT edu> |
In-Reply-To: | <Pine.GSO.4.63.0602141806510.25038@access1.cims.nyu.edu> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Igor Peshansky wrote: > Cygwin-created files are not executable unless they are explicitly created > with executable permissions on. Perl doesn't do that, so you get a > non-executable HTML file (and can't run this from CMD). ActiveState perl > lets Windows pick the file ACLs, which are usually based on directory > inheritance. To simulate this in Cygwin, use "CYGWIN=nontsec perl > myscript.pl". > > That said, you can also achieve the same effect (i.e., launching the > appropriate command for the file) by prepending "start" in cmd.exe or > "cygstart" in a Cygwin shell, no matter what the permissions are (i.e., > use "start temp.html" or "cygstart temp.html"). > HTH, > Igor > Just for the record: "start" in cmd.exe did not help. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |