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?)


I 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?

Also I noticed: parameter 5, AllocationSize, should be an int, while NULL is a pointer.
Sorry, it's a pointer to int, I didn't see the "P" before on the MS doc page with its tiny font...


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