Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <390E9C82.943B0539@vinschen.de>
Date: Tue, 02 May 2000 11:14:42 +0200
From: Corinna Vinschen <corinna@vinschen.de>
Reply-To: cygwin@sourceware.cygnus.com
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@nh.ultranet.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: perl scripts, file permissions, and external apps
References: <005001bfb3f1$6b996b10$eb4106d1@francis>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Brian Sturk wrote:
> 
> Hi I have what is probably a pretty stupid question but
> I've read the manuals, searched the archives etc and couldn't find
> an answer.  I'm updating perl scripts using gvim 5.6 for Win32 and
> after saving my changes the permissions on the file change so
> that I have to do a 'chmod 777 *.pl' to be able to execute them
> again.

I would like to get some more information. I wonder why you
have no execute permission afterwards. This is uncommon when
playing with permissions in plain NT.

- Which version of the dll are you using?
- What are the permissions of the parent directory of the files?
- What are the permissions of the files before editing?
- And after editing?

If you are using the net release 1.1, it would be best if
you send the output of `getfacl' of the directory and an
example file.

> Is there anything I can do to keep the permissions from changing
> rather than installing a different ( cygwin friendly ) version of Vim.

No. vim for windows has no relation to the settings which
are made in cygwin. Typically the permissions are _not_
set. This has the result that the permissions which are
set in the parent directory's ACL are used for new files.
Unfortunately, vim erases the original file and writes the
changes as a new file. No problem on U*Xish systems (like
cygwin) but on plain NT.

Why not trying vim for cygwin? It works as well as the win32
version, hmm, ok, without mouse support, but who cares?

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

