This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7 installation failed (on network drive?)


Thomas Wolff wrote:
> Dave Korn wrote:
>> Thomas Wolff wrote:
>>  
>>> Selected local directory: H:\cygwin17p1
>>> mkdir:NtCreateFile -> C0000022
>>> mbox note: Couldn't create directory H:\cygwin17p1, sorry.  (Is drive
>>> full or read-only?)
>>>     
>>   So that's coming from here:
>>
>>       status = NtCreateFile (&dir,
>>                    STANDARD_RIGHTS_ALL | FILE_LIST_DIRECTORY,
>>                  &attr, &io, NULL, FILE_ATTRIBUTE_DIRECTORY,
>>                  FILE_SHARE_VALID_FLAGS, FILE_CREATE,
>>                  FILE_DIRECTORY_FILE
>>                  | FILE_SYNCHRONOUS_IO_NONALERT
>>                  | FILE_OPEN_FOR_BACKUP_INTENT, NULL, 0);
>>
>>   Interesting.  Does it possibly succeed if you remove the
>> FILE_OPEN_FOR_BACKUP_INTENT flag?
>>   
> Unfortunately not.
> Any other flags I might remove?

  Nah, here's what to do.  You have no problem creating directories on this
share otherwise, right?  So start up sysinternals filemon, set it to filter on
"cygwin17", then in a cmd.exe shell window run "mkdir \?\H:\cygwin17p2", then
run setup.exe and let it try and create H:\cygwin17p1, then let's compare the
logs for those two events and see what flags each call was using.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]