mkfifo: cannot set permissions of 'x.fifo': Not a directory
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Aug 21 08:37:53 GMT 2023
On Aug 21 06:49, Cedric Blancher via Cygwin wrote:
> 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?
You're talking about Linux FIFOs, which don't make *any* sense on
Cygwin, and I'm talking about Cygwin FIFOs which don't make *any* sense
on Linux or, FWIW, a remote NFS fileystem.
So if you want Cygwin to be able to create FIFOs on a remote NFS, which
Cygwin won't be able to use, great. I don't see any sense in that, but,
as usual, https://cygwin.com/acronyms/#PTC
Corinna
More information about the Cygwin
mailing list