On Dec 14 16:21, 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? > > Also I noticed: parameter 5, AllocationSize, should be an int, while > NULL is a pointer.
AllocationSize is a PLARGE_INTEGER. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat