DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46LL64IM2177860 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=mB5pWdJx X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CFB13858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1721595962; bh=z4ENuPMjbICBc92PdpdD5+oQZO9uEH13Mqqzd65J3H8=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=mB5pWdJxaAndj40fairMJlNvSI98E2R4tIyTOxYt8M45eBNeAzFpLZeBX0z84YcCp ypUOkgtDXaUub3wmAS66z1HMP/Rac7KJv6s4uvSnPMjKJ0MJH7N1EuVycGOfpYqvzn /vbhrOeZYKWcP4lVHOCTXdxtduBJjccLDRzA+UII= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 194053858D34 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 194053858D34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721595908; cv=none; b=wZHskd0hykrgDM3z3/fP5R61KzLGekJw42BUfFhEZ/tJECG8V4ypwuJWHXrNbk8coSpN6hCDOJsBhduSqEoM7eSRas9OzOs2D00cjfApxcStxSacjHTD2092dLO3PHxnMUlrJhqjTVtS8zmMWUn4XBTX41x76uiO+rYsShFdbTs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721595908; c=relaxed/simple; bh=WbL/zVKUL04C12+Isa6tDrE50M0KZhXQ4wX85BxKLsY=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=og9qKFjObBEffT6Y0yK/48FjZyMwMaGc6ZXnvxDASG4JTaD3qln2f6rzzjqAkj+tw6qECTfhZr1FqMkTBP36sYcBXOJZODjPN7Nfb1VNu/DYNI22pH7ZBVSZEIo/yxOBoQZKc1KFHNM6VBx13+pNpmbpaAlwdUz+GytFpdNGDXo= ARC-Authentication-Results: i=1; server2.sourceware.org X-Yandex-Fwd: 1 Date: Mon, 22 Jul 2024 00:01:02 +0300 X-Mailer: The Bat! (v9.3.4) Professional Message-ID: <1158534520.20240722000102@yandex.ru> To: ilya Basin , cygwin AT cygwin DOT com Subject: Re: noacl no longer effective under /cygdrive. Still works in other locations In-Reply-To: <77920475-0ff2-4c1d-9331-39593c1cb46e@gmail.com> References: <77920475-0ff2-4c1d-9331-39593c1cb46e AT gmail DOT com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, XM_LIGHT_HEAVY autolearn=no 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Greetings, ilya Basin! > For several years I had this in my /etc/fstab.d/$USER > C: /cygdrive/c none binary,noacl,posix=0,user 0 0 Unless you have a global /cygdrive override set to noacl as well, I have my reservation about configuration. > 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. Just set /cygdrive to noacl. In my experience, this is a safer choice for cross-system interaction. -- With best regards, Andrey Repin Sunday, July 21, 2024 23:59:06 Sorry for my terrible english... -- 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