From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +EK/HmPAVmHu3QAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 10:01:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kJl/GmPAVmHeCwAA1q6Kng (envelope-from ) for ; Fri, 01 Oct 2021 08:01:39 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 115023D3D2 for ; Fri, 1 Oct 2021 10:01:39 +0200 (CEST) Received: from localhost ([::1]:37264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWDU9-0007VI-HC for larch@yhetil.org; Fri, 01 Oct 2021 04:01:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWDT2-0007Sn-Ud for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 04:00:32 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:34472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWDSx-00031J-Ea for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 04:00:27 -0400 From: Stefan Nobis DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1633075217; bh=9TqAwVZi+h2LweEzmtvKUQK+ZWCcxcgYpFweLSV6PoI=; h=From:To:Subject:References:Date:In-Reply-To:From; b=OgikShhKPdEsIrvitzvb7D8dAilVAh3e3NTfclTPamCxeAJKFzUYuJLhmcX1PeAHV zgEpj3aqaweFMK+e8lao43CP7e/FmTyNB+oWiaaTtvOS+jyi8SfnkeMPt3Ks8j3w8A atV4jZjrUWChG4hXTvfO+PnFSQJjbjqXp4D0DdUA= To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Accept more :tangle-mode specification forms References: <875yuh9b3t.fsf@gmail.com> <87a6jtjj20.fsf@gmail.com> Mail-Followup-To: emacs-orgmode@gnu.org Date: Fri, 01 Oct 2021 10:00:17 +0200 In-Reply-To: <87a6jtjj20.fsf@gmail.com> (Timothy's message of "Fri, 01 Oct 2021 14:59:35 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.de 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633075299; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9TqAwVZi+h2LweEzmtvKUQK+ZWCcxcgYpFweLSV6PoI=; b=YxQAokbo7V3ZpoJmxzURwZBwq/hRAX2SaaZCVSwM2HKBUIV32dQvmvnabSMMqnopmukOpo Im1e4KAG1s+DlBIvTjBR6LIibNK08N5vTbj1vkV+Ste7KkYSGlCo5jZiyKEfe6d48XxI1E elvMWQ83x4U2W6HoZcKrjDL50/b3mM4YaUgGuAklXNEp9ORAD8gz2SVkT1Mnd+sPvzhKBZ QdaFR8o78ETuz+wTbFaaCmIHN/lEI6dlkitP85HWeblVTYNcVnkAtPqdfb+5r9a+1GjusK YiP0xFkVxHOHaiRGgxPfnODDm8kAdXgpJSSvV14CVRMisHwiU6XVpNbLMYiA0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633075299; a=rsa-sha256; cv=none; b=XhxJ5VZ9q7pmINK1KV0LYciPNkDERZoiLhqXBZOnW+8w492wnTtC8K4Tq/w1Ir8WYOeQfE M/icV19fLi7tSZ8RWkhI5E4imXO5VPoIpil28z6VwOAHNJy06m600hyJjBptgqQGXppb27 xTnKnK2efmQAtSn2q1Xdnby/em/2m6MekPJ2yYvwfksGdCqnpxUCMvKyRcdjyaqEa3kgqL lzdBROB/f4l9kkBkoOUdmGOeFx5YatYkuWB3EHaNIEtkIfwx6wVTBKYuXLu2F9/BXOdofD 1iGj8hw6oO/82JxjN7ZcE7FUlo361cZnMeuLmzbpll83y8y3qLTlOAM578AfwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=OgikShhK; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=OgikShhK; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 115023D3D2 X-Spam-Score: -2.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: B3zE8OAqya94 Timothy writes: > Thank you for considering potential security implications BTW: Security-wise I would argue to even forbid the integer case. From my view next to nobody uses and is used to the decimal codes of file modes. So this decimal integer representation is the most error prone, I would say. The more explicit (like "rwx-r-x-r--" etc.) the better. I would also tend to only support something like "#o755" and forbid "755" as well as "0755", just to be more explicit and to avoid misinterpretation. But all in all I support your patch and your arguments for the change. Currently, I also do not really see why this attribute value (just a string if the integer case is forbidden) will make the Org syntax more complex. -- Until the next mail..., Stefan.