delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/07/19/06:07:50

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46JA7oLI1219489
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=AACN2B6Y
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8221D3861002
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1721383667;
bh=IFDVQY5rDr2dWJO8CVRxAjuBWVNd7FvoBFEumZKBs5s=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=AACN2B6YHW4fUGPwzL29XbM+EUYWYAqiSj4ftIZLsOUMVYyc+Na7AwNyhcj0k0uKv
hTsfm8ykffa6xuzzQgj/lyUdAcTIwfRLLdKewsPEKrzQH2JA2elaAxYXOu8VhmIsbo
7YGXlX+x/zDfgEP8Za1Un1x9kYB7H2CxN4r/NQ2M=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0331385B503
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0331385B503
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721383614; cv=none;
b=SjWD4eqShlvlTmFDQnwHwN9ZWRpUl3nmg7hZo4ks890QKHSPC/yt/v1esyyduMErWuBpZ93agfi78Ap+BBo6iGGvNBDHLFdBju9AVt/8GOL7y3qYChbDcdfZX8bMLroKBpx1g1qIHmnbiHDVmkUNi1FUe30dN88lumiSKYa25zI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1721383614; c=relaxed/simple;
bh=L7tl3Hm/lrfyfyySZTwYOQSwstMdHhN8ZBmpiviG0xg=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;
b=BYxbNeCJW3jyIGHiZVbMOo7h5Ak9oCc70gVrd4aukYnELh/MMY2NWnZsa5iZPuK+f8njT1F3EOPuL74FiKW4gzzKjtdtoKKWTcILcevh2aVMyigcielqhmjPMRyTgF75EwRWmOALhjJ4Q8Eur3BlJs4KWCf6xvHEliSJHBa7D+g=
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=1721383605; x=1721988405;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=Q8Y/UkLJxXQNZHB2t/nn4KJ7EjwdoQshVHPfH9rFHNo=;
b=TVzbGGBRlvsaYrOCUJVzj7H8/X0GT0EVr7Z4MfsfQb3fcjiyjAhR6+s4HpJoSg7fvD
fOXIjfSpHa/Rx6ZcsDdaxt3oWJnuMdY0psd1McMV1R6YS7VKKB6tf17W6y/UyU7eH7RX
q2qGaVg5TnXL742Bq7ULfP6VklplMJcK9YAOVHY6TqKvdR33EpJKCF8ObRV7UbZKsEr2
TL4Th6UOSJ0D/qPFK+xUqdqAPrp2tjXBtRh0bbgRoZeHvpbYmHbya9G45vjZHq4g9s3U
73gFe4T3XQ73C+Zfat8xAo1R7ofeCfQLivetB9cju1fqydRBoVetYbF+0mGaoHfpV+7E
I74g==
X-Gm-Message-State: AOJu0YwNs2KlQC2k3feyQgjzTKbTZdoYEIVkADc5mH8CoSrMYm5Y4mod
RiAs+i3Io2VGvMwukZ/J00oQ3r84UomNXYvvfhYrkKg5bETa/gGFhimc1JM3xGjc0g==
X-Google-Smtp-Source: AGHT+IHD7euQMw8Ty8DGRaQO4YmdnPY57PCjPGcIVfp2OH7DFBuG6/lqofGYAtCk2SzhB5yoofWtMA==
X-Received: by 2002:a17:906:33ce:b0:a72:aeff:dfed with SMTP id
a640c23a62f3a-a7a013917d1mr535907666b.53.1721383605349;
Fri, 19 Jul 2024 03:06:45 -0700 (PDT)
Message-ID: <77920475-0ff2-4c1d-9331-39593c1cb46e@gmail.com>
Date: Fri, 19 Jul 2024 13:06:43 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: cygwin AT cygwin DOT com
Subject: noacl no longer effective under /cygdrive. Still works in other
locations
X-Spam-Status: No, score=-1.5 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 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: ilya Basin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ilya Basin <basinilya AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi.
For several years I had this in my /etc/fstab.d/$USER

    C: /cygdrive/c none binary,noacl,posix=0,user 0 0

I switched from Cygwin x86 to x64 recently and I noticed that even if `mount` prints this:

    $ mount | grep C:
    C:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
    C:/cygwin64/lib on /usr/lib type ntfs (binary,auto)
    C:/cygwin64 on / type ntfs (binary,auto)
    C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user)

noacl seems to be ineffective:

    basin AT basin /cygdrive/c/63/c
    $ rm -f aaa bbb; touch aaa; cmd /c "echo.>bbb"

    basin AT basin /cygdrive/c/63/c
    $ cacls bbb
    C:\63\c\bbb BUILTIN\:(ID)F
                NT AUTHORITY\:(ID)F
                BUILTIN\:(ID)R
                NT AUTHORITY\ :(ID)C

    $ cacls aaa
    C:\63\c\aaa NULL SID:(DENY)(special access:)
                         READ_CONTROL
                         FILE_WRITE_EA
                         FILE_EXECUTE
                         FILE_DELETE_CHILD
    ...

There's no suspicious $CYG* env var. I also tried to kill all cygwin processes and umount everything manually. I don't see what's wrong.

Had to change the parent mount point to /cygnoacl in /etc/fstab.d/$USER and from there it works.

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