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

Cedric Blancher cedric.blancher@gmail.com
Mon Aug 21 04:49:00 GMT 2023


On Fri, 18 Aug 2023 at 10:35, Corinna Vinschen via Cygwin
<cygwin@cygwin.com> wrote:
>
> 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.

Are you sure? AT&T AST and ARB (rDNA data cruncher) certainly have
worked with Cygwin on NFS shares (Windows builtin, I think you call it
MSFT NFSv3) in the past in our institute.

Tested with Cygwin 3.4.8: AST is not even building without such
support, and ARB throws nasty errors in the cluster run setup phase
II, because it cannot create the command fifo used for each cluster
node.

>
> 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.

So no Linux mkfifo support on NFS with Cygwin?

Ced
-- 
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur


More information about the Cygwin mailing list