From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500o.mail.yandex.net (forward500o.mail.yandex.net [37.140.190.195]) by sourceware.org (Postfix) with ESMTPS id 997B93857809 for ; Fri, 7 Jan 2022 15:50:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 997B93857809 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from iva4-66d7931d4d60.qloud-c.yandex.net (iva4-66d7931d4d60.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:78a3:0:640:66d7:931d]) by forward500o.mail.yandex.net (Yandex) with ESMTP id C8E35941B49 for ; Fri, 7 Jan 2022 18:50:01 +0300 (MSK) Received: from iva4-50c21cb1cb18.qloud-c.yandex.net (iva4-50c21cb1cb18.qloud-c.yandex.net [2a02:6b8:c0c:1510:0:640:50c2:1cb1]) by iva4-66d7931d4d60.qloud-c.yandex.net (mxback/Yandex) with ESMTP id EIBpV8khHW-o1eqSqSf; Fri, 07 Jan 2022 18:50:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1641570601; bh=2hSBQleQX7md8nILZqU28FtQwkdzrbPQ4BhDdmh7AnA=; h=In-Reply-To:Subject:From:Message-ID:References:Date:Reply-To:To; b=EoM5XnPaK8mxsITf9/qq+FP5+nrmGRMndaZkgs1NMnz8KUbSzYxoSVinkz1uAJGEn uuhIMpBw/t2dAmJu6AT5n2u1DrgPPW56wM3EN1fSdRjlK4GLXCSQfnWkAcih7hKOSz s3Bgqn3Hn9qc4xSrw+4K0DMfUO33qrqoMaJK205k= Authentication-Results: iva4-66d7931d4d60.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by iva4-50c21cb1cb18.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id FuVBzmvb40-o1PqC4g6; Fri, 07 Jan 2022 18:50:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 2 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 07 Jan 2022 15:40:46 -0000 Date: Fri, 7 Jan 2022 18:40:46 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <158020464.20220107184046@yandex.ru> To: Corinna Vinschen , cygwin@cygwin.com Subject: Re: A notion about saving and restoring Windows file security info In-Reply-To: References: <4c5fda33-8f7e-53d2-85ce-28eb11cfb978@cs.umass.edu> <7cea7819-c03e-60c2-1acc-380b1bd0c18f@cs.umass.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 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_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2022 15:50:07 -0000 Greetings, Corinna Vinschen! > No settings in that case. *Iff* we do that, we should provide the native > ACLs in a consistent manner. I have a small suggestion. Have you tried too look into existing implementations? Samba uses xattrs to store extra information for much the same purpose. See f.e. https://www.samba.org/samba/docs/current/man-html/vfs_acl_xattr.8.html -- With best regards, Andrey Repin Friday, January 7, 2022 18:14:48 Sorry for my terrible english...