delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <3917CA0D.DD0BDABE@vinschen.de> |
Date: | Tue, 09 May 2000 10:19:25 +0200 |
From: | Corinna Vinschen <corinna AT vinschen DOT de> |
Organization: | Cygnus Solutions, a Red Hat Company |
X-Mailer: | Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) |
X-Accept-Language: | de, en |
MIME-Version: | 1.0 |
To: | Brian Sturk <bsturk AT nh DOT ultranet DOT com> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: perl scripts, file permissions, and external apps |
References: | <005001bfb3f1$6b996b10$eb4106d1 AT francis> <390E9C82 DOT 943B0539 AT vinschen DOT de> <00d001bfb968$6d9657d0$944106d1 AT francis> |
Brian Sturk wrote: > [...] > > - Which version of the dll are you using? > > I am using the new "net" release... There doesn't seem to be > one central cygwin.dll anymore. Sorry, I meant, what is the output of `uname -a' but it's ok now. > > - What are the permissions of the parent directory of the files? > > drwx------ 3 administ Administ 4096 May 4 00:15 scripts/ > > > - What are the permissions of the files before editing? > > -rwxrwxrwx 1 administ Administ 7202 May 4 00:15 crash_func.pl* > > > - And after editing? > > -rwx------ 1 administ Administ 7202 May 8 23:35 crash_func.pl* > It's the typical NT effect when working as member of the administrators group. Your privileges are sufficient but unfortunately you are not owner of the file but the administrators group. Perl seems to check the permissions before running a script and it checks them the UXish way. Only the owner has appropriate privileges to run the script and you are not the owner. The simplest way is to change the ACL of the parent directory. As you can see it's as I mentioned in the previous mail: The permissions for the new file are copied from the parent directories ACL. Suggestion: Try a `chmod 777' on the `scripts' directory. If you have some special security needs, change the permissions appropriate. > I don't use the mouse ( why use vi and a mouse??? :) ) but I > compile in some ATL code to drive Visual Studio from vim. Visual Studio? Is it sth similar to gcc? Never mind. I have used gvim a long time to be able to use vim in VS, too. -- Corinna Vinschen Cygwin Developer Cygnus Solutions, a Red Hat company -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |