delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/11/03:02:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84A5F385802A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1710140541;
bh=5tGv4kmKX/6l1G38RjHYLrlGzDlnbVcLGa7v/4fCOHI=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=rFfNzUlVKE/THp3DHYpze8+PsE/ADFq/1CbBoXnLCI9RVuqH8wFmYWSz6G7zpNHOe
c0F8oNSNEGZxqTb5iz5LfbjrkPGOinfl1kSq5jRe6z+KZp9UgLV9TShIDaBE4WM1/V
awfnl/j+dBRgJEK6SjVHyR+/CQTkDWKA8DEqNNu8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ADA3A3858422
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ADA3A3858422
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710140521; cv=none;
b=p+COoalm8CEQmyQwEEhwJ0kLgTCDm2hTZ6lAMB2HLB7Yo7/XheLD1prHe/C8uP/+04V5xUx4cCKO4O34vxxvJjSFFJJdIVvHa/319aFY4RmSB2dawI72yrK9A/iR0nJ/HxB0w4aSrx58dmHHLrRVjaHqsM1oU0QQd93LijeihzU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1710140521; c=relaxed/simple;
bh=s9sQnkwwwRaJg4Z69tJVDz12+eck3hPjdp8zmG/7fxk=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=cV6Fe3ru39aQcfRSC0bjuXqngcDXRa5Wf+u3mCRO/AVXo4L+2945/WTgSlKRRYEdr1VBHnxIlEDDWZLZ3xJ2lrudgp3PCHtao/AX9mJeiE9qYKOv0SUopJ3PKfPvEeFPCNMalIAwYopw/PrGjFFSkWSKB93rX34jvN9kwtDAJkQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1710140518; x=1710745318;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=/7Gi5xmnk1cDCTIOI2vk5hPv+C9F7NherAQ3AbLE200=;
b=JkpGwV2/M9SLhB7KO49zFinWvOuyQXVIu+8+1Fu8mWJBz3CbuZCcwPuZMPgEBUnoV3
9yg+gGl52an59pOQLGZWkVULspQeecdkit3+L4L3dZjvQhlt6NwxiSWduPrgx72DjNG4
NrWsB5rNEeC5Auj98YzmQL0syMongCxUjdzNHP2LalgVbl59Ko8v7Db6Sh0u/E0xsqSC
UCmicj+rDyUmyR6kajc/lrGI6ITTGIpLK36Eaz7CR/RaGkkYLiESFbrvabIwgtyLtYGG
0bkzfqnDXfAtm6TY5gI37DitU2ijsFgw5Gf4EKOuOir37vWhOidkRkzuR1NAEzqjpMLG
u1NA==
X-Gm-Message-State: AOJu0YxOOtOiyhiMShFCxAI0+HChu2UzsDs5AhNhE+fGM2HsJLc5Yy8/
NlsBOuEHW1JzKYKfY6ZTwQ4t2Mqb3Tu6K0TAvOAXmJhy1ScJNWIaiVCFFIbZV8ng5Ov7IvOr7/j
FuFpIfAz5pOgETHzfdR/Z19C6AQXaMcKJ
X-Google-Smtp-Source: AGHT+IGlhTVAeKaaeEKRGgiQLcGrzkVd3sf1tjaiuqv1kgH0WD4d7H4i/xkRFF/MqX6VzeuPG0YzqtjlubJCenI3z/4=
X-Received: by 2002:a50:f60f:0:b0:567:9306:5d0b with SMTP id
c15-20020a50f60f000000b0056793065d0bmr3973337edn.28.1710140517946; Mon, 11
Mar 2024 00:01:57 -0700 (PDT)
MIME-Version: 1.0
References: <CAAvCNcDaoJw301_VRFJvAUqhPWp3cm8JWi3hj+XqtZq-ze8eJw AT mail DOT gmail DOT com>
In-Reply-To: <CAAvCNcDaoJw301_VRFJvAUqhPWp3cm8JWi3hj+XqtZq-ze8eJw@mail.gmail.com>
Date: Mon, 11 Mar 2024 08:01:00 +0100
Message-ID: <CALXu0Ud+T+K6w5fYt-BUhP+98fJL9V-PJbPpv7THSjbvFfxpaA@mail.gmail.com>
Subject: Re: Cygwin 3.5.1: unable to open output file
'/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Cedric Blancher via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cedric Blancher <cedric DOT blancher AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin <cygwin AT cygwin DOT 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

I can confirm the bug, but only for the clang version linked to
Cygwin. clang version of MinGW does not show that error, so this looks
like a Cygwin bug.

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019