Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Date: Thu, 16 May 2002 14:31:11 +0200 From: Pavel Tsekov Reply-To: Pavel Tsekov Organization: Syntrex, Inc. X-Priority: 3 (Normal) Message-ID: <16618499781.20020516143111@syntrex.com> To: "Robert Collins" CC: cygwin-apps AT cygwin DOT com Subject: Re[2]: Installation of X with setup.exe was Re[8]: setup.exe and inuse files for X In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Robert, Thursday, May 16, 2002, 2:11:37 PM, you wrote: >> -----Original Message----- >> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] >> Sent: Thursday, May 16, 2002 10:07 PM >> Sorry, for spamming the mail list :( RC> It wasn't spam. I think that the NTFS changes may well be needed RC> anyway... or are you saying that just tweaking the cygfile remove to RC> have the SetFileAttributes thing is enough? Well.. I was acting encumbered with a wrong assumption and a result from and "incorrect testcase" :(. When you asked me if it is required to use both calls I've run some more tests while replying and saw that DeleteFile works just ok with mode 0400 files when FILE_ATTRIBUTE_READONLY is unset. On the other hand the method I've suggested doesn't work with FILE_ATTRIBUTE_READONLY set i.e. no difference between DeleteFile and CreateFile/FILE_FLAG_DELETE_ON_CLOSE. These mails should be ignored! RC> As for the X problem, yes that would explain it, as setup doesn't know RC> to uninstall.