mkfifo: cannot set permissions of 'x.fifo': Not a directory

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Aug 18 08:34:51 GMT 2023


On Aug 18 06:02, Martin Wege via Cygwin wrote:
> On Mon, Aug 7, 2023 at 4:42 PM Martin Wege <martin.l.wege@gmail.com> wrote:
> >
> > Hello,
> >
> > 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
> >
> > Is there a known workaround? So far named fifos cannot be created somehow.
> 
> This is fixed for NTFS, but still broken for Windows builtin NFS v3 client:

It was actually never supposed to work on NFS.  Cygwin FIFOs are
created as symlinks of the type Windows shortcut with the R/O attribute
set.  Those are only generated on NTFS and FAT filesystems.  NFS symlinks
are generated using special magic.  NFS doesn't support DOS attributes.

Corinna


More information about the Cygwin mailing list