Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

Dan Shelton dan.f.shelton@gmail.com
Fri Mar 8 22:44:00 GMT 2024


On Fri, 8 Mar 2024 at 08:32, Cedric Blancher via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin <cygwin@cygwin.com> wrote:
> >
> > Hello!
> >
> > I've run into a problem with clang on Cygwin 3.5.1 and 3.6. My machine
> > does not have much disk space left, so I switched TMPDIR to the
> > network drive. But clang then failed, like this:
> >
> > $ cat x.c
> > #include <stdio.h>
> > int main(int ac, char *av[]) { puts("hello world"); return 0 ; }
> > $ mkdir /cygdrive/t/tmpdir
> > $ TMPDIR=/cygdrive/t/tmpdir clang x.c
> > error: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o':
> >       'Operation not permitted'
> > 1 error generated.
> >
> > /cygdrive/t/tmpdir/ is a clean dir.
> > /usr/bin/touch /cygdrive/t/tmpdir/dummy works without problems
> >
> > How can I debug this further?
> >
>
> Which "network drive" do you use? SMB, AFS, Microsoft NFSv3,
> msnfs41client NFSv4.1, OpenText Exceed NFSv3/NFSv4?
>

I've installed https://sourceforge.net/p/ms-nfs41-client/mailman/message/58741244/

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd


More information about the Cygwin mailing list