mkfifo: cannot set permissions of 'x.fifo': Not a directory
Martin Wege
martin.l.wege@gmail.com
Mon Aug 7 21:14:43 GMT 2023
On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
>
> On Aug 7 12:26, Brian Inglis via Cygwin wrote:
> > On 2023-08-07 08:42, Martin Wege via Cygwin wrote:
> > > We get a weird mkfifo failure in Cygwin on NTFS:
> > >
> > > /usr/bin/mkfifo -m 600 x.fifo
> > > mkfifo: cannot set permissions of 'x.fifo': Not a directory
> >
> > This error is also reproducible with default fifo permissions 666 or
> > anything else, and appears to be returned by gen_full_path_at() in
> > syscalls.cc when called with a fifo:
>
> This will be fixed in 3.4.8,
Thank you
> see
> https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=b56b4d7fd85b
First, Can I download a beta of 3.4.8, or any other version with that
fix? It's pretty urgent
Secondly, how are fifos, other device nodes and mknod implemented? You
encode them as softlinks on ntfs? What about Windows native NFSv3
driver, do you use native mknod then to create a fifo? Where can I
find the code in cygwin for that?
Thanks,
Martin
More information about the Cygwin
mailing list