public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'
@ 2024-03-08  2:24 Dan Shelton
  2024-03-08  7:31 ` Cedric Blancher
  2024-03-11  7:01 ` Cedric Blancher
  0 siblings, 2 replies; 7+ messages in thread
From: Dan Shelton @ 2024-03-08  2:24 UTC (permalink / raw)
  To: cygwin

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?

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-19 23:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08  2:24 Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted' Dan Shelton
2024-03-08  7:31 ` Cedric Blancher
2024-03-08 22:44   ` Dan Shelton
2024-03-11  7:01 ` Cedric Blancher
2024-03-11 10:27   ` Roland Mainz
2024-03-11 16:59     ` Brian Inglis
2024-04-19 23:46       ` Dan Shelton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).