From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Easy configuration of a site-lisp directory Date: Sat, 21 Aug 2021 22:25:11 +0200 Message-ID: References: <87y29cj65y.fsf@posteo.net> <871r6pu6pc.fsf@posteo.net> <87v941hz9o.fsf@posteo.net> <83sfz3z4gm.fsf@gnu.org> <831r6mzwov.fsf@gnu.org> <83r1emy5bv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5709"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: philipk@posteo.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 21 22:26:11 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHXZB-0001ES-DY for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Aug 2021 22:26:11 +0200 Original-Received: from localhost ([::1]:44708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHXZA-0007Un-7e for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Aug 2021 16:26:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHXYU-0006fN-7P for emacs-devel@gnu.org; Sat, 21 Aug 2021 16:25:26 -0400 Original-Received: from mail-oln040092075037.outbound.protection.outlook.com ([40.92.75.37]:62763 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHXYN-0004Kv-5u; Sat, 21 Aug 2021 16:25:25 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TThHq0bQhQBLac4skjCeYAz+c9RdUCzrv6DnWKSsWM1czIVaIk7DdeycuExXqMwZpelnmraRQUKZB+B+LwH74WwfQ1HNO3HMG0ZG3ejsotIhI1bNp90G5wUGDoiEMT/rJD9SbOtPhBw2KWIELLUmgw/RN56MMSE07UX4OUHMwwG7c0Mc0WwPlGwqlxaeCvEFBNPdzUj9qHEBiqOT/y2OQflV3koTGpXwFoTouMHZCFMdMY+ans2v1/KZk5AmnLjW4RxrtsX+hDXO6QlyK4/S/f4twGD2GPZwQ7fQJjgxC+oTwzOM3Sc4MQbK0YjU5z5MICvHEEPV1LqUrW7+23w2lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rsP1Ij7yOkALzq8pmOr8kEo4VKLm2TW6O8tU8GyQU9I=; b=E/e9/ojj2Q//kWdp7PekCvjHM85aHlVVZE53jpK6DeJ33H2Th6kWcIBRN1ft84hQRsEEJ2JXa/8hYQLWJwT3Krh0ueS5Q1oJS9dN2Z2P4DorSK0LVbfdqgX5wR3kQmH+pzakoOZGMOS/KozpEyqIi2yqfdQR6yroCA4EIQt+PJbzgSL42p0J40AACfxiat0nZ7FGcavX6Bpr2Nce1s//ZGy1Dhe38CCdeW8iiDexCoaqrGUNn8LQ62WM3qeoqIaHpaznEDsfwTOTEnEs/UnsO9xOBMcT1w7bsyAoOcLnbTOwkWHkV6EWx+UTTRKNaFxOlOj2+y2D66D2yafwuKxxbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rsP1Ij7yOkALzq8pmOr8kEo4VKLm2TW6O8tU8GyQU9I=; b=eDqkYxWndmxI4U2bzacLZmBcsV3MaabieYCJ2cMkP1pbV7coNJ6DpGf0odgrUc6dppPbDMvrWBb3ssHpXBtvDpGWbbL3zHgOTAqBkEiFPClkoH57/OCQWxh3mG1M2x6DdRnqtNWqHfwF2X2DPdY56V35MSuX1MdY4NoDSbmtdRv8vz2apTXMjsnrby5TyJIJe0/zGtn9o8fZXASw4kpqsdQ2XkCXb4TCP22vpU0wM44v9Eyur7gWCANvbpg0arVRwosZf45sym/fTJ/GGZ92xVj3VNXelTmesnm3KQkpFDQK20u+Yl7FNd3o5/+a3jICZ4y0pKfUhanEwiCwbFOi6A== Original-Received: from VI1EUR04FT044.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::4b) by VI1EUR04HT053.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::265) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Sat, 21 Aug 2021 20:25:12 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e0e::4c) by VI1EUR04FT044.mail.protection.outlook.com (2a01:111:e400:7e0e::211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Sat, 21 Aug 2021 20:25:12 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:8AFF5B5022B65C800B6768ECBC26286918A46C5301BF6E968A7CAAE9B49C53D6; UpperCasedChecksum:57B3ED7EE6B6E2464B5D26B104B560C71B5A9E8A79B98CE19397E0BB8660851F; SizeAsReceived:8351; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39%2]) with mapi id 15.20.4436.023; Sat, 21 Aug 2021 20:25:11 +0000 In-Reply-To: <83r1emy5bv.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Aug 2021 22:18:28 +0300") X-TMN: [JiaoOyG1Hd5RzN9FkD/mJjB1KfKGO//C] X-ClientProxiedBy: AM6P192CA0077.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::18) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87mtpaa6l4.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P192CA0077.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Sat, 21 Aug 2021 20:25:11 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 53e3b9d7-bf84-44ab-1c89-08d964e1c6cc X-MS-TrafficTypeDiagnostic: VI1EUR04HT053: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AwDDYvUZTxm8BsY24a/eQm44w3lV/H0iDX427gpVjzfW5GwPkLUzjZkMqNj/xjyxUr46TfN5lqVIHuck54G8BCpG/ZOwSStKq8iJ8GX7ahUpvDt/Wb36dl/iFh2Q9CGctfBRmtxDPdg9KMrfut49rgqnObpqqhm5OauHQjtfYDUkfuY+s8tGSZrVeXDPOJWYkhhu+WzcqzZkMhOGPU62rI3pJl5O6zaxxNu6+qHlidss/zxeuht4LLctlxgD7MoAWBCBAcqcGeCf4NarigXFDdPNr1yOYDZz0sHx9Mq83IREfv++++021seuCBJqr1LSrky0D96nQUMcSYRjna6qwWlCSpMIm70R7Od4j/jWfW8Hk/yk43JTcFwbdywnmocRI6kLW8s/9vUlcN6h4/y41jFYE/J7nDoORyZk57+bowZf495wq/Pc6xdh3w0rBohR X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qoRoliwNWudUKIJr9ziPlwWTYPg5X8ok8wn1IN7GSduuBjjSikdgCax7Fie0ZBdG8OC1onq1heYlpGD7kC6eDbd1Zj1KMbQN/PDAOniAnNx787kNPClYpBNTu8K5LP4v+6MY8SukQtrwTprN74Ehvw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53e3b9d7-bf84-44ab-1c89-08d964e1c6cc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2021 20:25:11.8177 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR04FT044.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR04HT053 Received-SPF: pass client-ip=40.92.75.37; envelope-from=arthur.miller@live.com; helo=EUR04-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272808 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Cc: monnier@iro.umontreal.ca, philipk@posteo.net, emacs-devel@gnu.org >> Date: Sat, 21 Aug 2021 21:10:22 +0200 >> >> > If the symlink resolution is done below the level where access rights >> > are checked, you cannot do that. >> >> Which means we can leak access rights if we symlink from priviledged >> ring into lesser access right ring, or how they call it? > > Something like that, yes. I think the problem is actually in knowing > which inheritable access right to apply, because a symlink can point > to a completely different directory hierarchy. > >> > Symlinks are not removed from Windows, they are present (and Emacs on >> > Windows supports them). >> Oh sorry for the last, my brain was on the vacation, "removed" I meant >> from original design ... back in VMS/VAX time I was still in thoughts of >> another replay. As I understand they added symlinks "relatively" >> recently (in Vista), but I maybe missunderstood there. > > Yes, NTFS support for symlinks is around Vista, although filesystem > reparse points were supported before that. Thank you. As always I am amazed with all the (technical) knowledge you poses. We should definitely pay you to write a book; for the greater good of human race!