This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re[2]: Installation of X with setup.exe was Re[8]: setup.exe and inuse files for X
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- To: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Cc: cygwin-apps at cygwin dot com
- Date: Thu, 16 May 2002 14:31:11 +0200
- Subject: Re[2]: Installation of X with setup.exe was Re[8]: setup.exe and inuse files for X
- Organization: Syntrex, Inc.
- References: <FC169E059D1A0442A04C40F86D9BA7600C60E2@itdomain003.itdomain.net.au>
- Reply-to: Pavel Tsekov <ptsekov at syntrex dot com>
Hello Robert,
Thursday, May 16, 2002, 2:11:37 PM, you wrote:
>> -----Original Message-----
>> From: Pavel Tsekov [mailto:ptsekov@syntrex.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.