Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h2774747.stratoserver.net (8.15.2/8.15.2/Debian-3) with ESMTP id w7OAYkkI022256 for ; Fri, 24 Aug 2018 12:34:47 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx016 [212.227.15.9]) with ESMTPS (Nemesis) id 1MAvgB-1fhtxg1skr-00B2u3 for ; Fri, 24 Aug 2018 12:34:41 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.15.2/8.15.2) with ESMTP id w7OAYfJf014986; Fri, 24 Aug 2018 12:34:41 +0200 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 34B3E1275C5; Fri, 24 Aug 2018 12:34:36 +0200 (CEST) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 29047871 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 24 Aug 2018 12:34:34 +0200 Delivered-To: latex-l@listserv.uni-heidelberg.de Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 8C7E4126A5F for ; Fri, 24 Aug 2018 12:34:34 +0200 (CEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by relay.uni-heidelberg.de (8.15.2/8.15.2) with ESMTPS id w7OAYS7P009724 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 24 Aug 2018 12:34:30 +0200 Received: by mail-wr1-f48.google.com with SMTP id m27-v6so7076214wrf.3 for ; Fri, 24 Aug 2018 03:34:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=R43B64PoeG+xldeC8ixAhyD2GZQ9uvMmXfFVQp8X9ag=; b=ucJ45tAkUmZx9DeediVzYnY6n+sB/RFYcf1tosNypiLonR0tJayyiWU5WyqP8RNkkW C5HYQdH+gU3QN7V8jQZ8gB01xAIlNEHm6YKRgT7P/f4RUYdReKk+kzH/9nV4RizvkIfQ KNiu1wD4gCy037WdSWIFE3YS+4h0UMD0Xa3Pwvg14sjvuh/8TNNEj/rFZLNDpimPQNXY b/aZxubo6Tr9MoxJv+c2Zni0qWTkYBPg71c1sxzeS/05ec5tU2eapakpeJcQHbIcrAhd komK67s3UCUA66OKTnj/fE+x5s/a0OEyAYZlFhGl+G099pjKlxxsptp3YzCBXjEpO/Id PN6A== X-Gm-Message-State: APzg51BsSGXVDnLLY7f0Evxbzbz6v5fqsxSR7ExDJvCDh4qjI8RkF526 WPBuwpe18uM7UnYmsMemX/57QxqvrRc= X-Google-Smtp-Source: ANB0VdZBMNyfOh6HtV/y7fkdgSwkHblAnums+Ftydyy65Mq+PYfAv7EdCdYHckIamC+KJRw9Piq70g== X-Received: by 2002:a5d:5685:: with SMTP id f5-v6mr854580wrv.58.1535106867887; Fri, 24 Aug 2018 03:34:27 -0700 (PDT) Received: from [139.222.39.75] (eduroam-39-75.uea.ac.uk. [139.222.39.75]) by smtp.gmail.com with ESMTPSA id p89-v6sm12386938wrc.97.2018.08.24.03.34.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Aug 2018 03:34:27 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Message-ID: <7aac3298-e217-7dfe-6787-ad1b69f43fc4@morningstar2.co.uk> Date: Fri, 24 Aug 2018 11:34:27 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: System shell functions To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-UI-Filterresults: notjunk:1;V01:K0:mNnhDs+bpCo=:BoK8pSUcBfTuNWZNFvmY7peh5c acVyk5g4R9UmKt3trqEWKMdLvnZRZ1E4ODwSyO1FXu5SLhM9tQF5LnKWGjSN8X1OHPzVfxq6I qM0XHzonXHU6KruAE2d1BHseEnxg06mec+rhVjYUu/oaAJxnG7mbW6txS/kB+FXkZTaKBUUtn pR9rMlQoo7Gpu5LBSc+kiOel8v5hLGmksMRpqzKLiAkWxGgFL24CoWOwX0c2uFblCSmRaRCIz n5ijGOAerkedNFQnICEsZsvJtnVO0+pKGwRrg7OIPVIoAtn6Bb893LTMLhVfd+MGwUNhl1yK8 tISgV6wJmCiaINh4W0hdwMMianjNMR2K7OTGftSqEcNSNIf3naUqhpBhbzK+DtUNtWLBDW1Jw Y1S7aaGzpoceoLrT7/vZhA2KN/KjeYInF96TzcR4+rgrITZXFJ8kYSzBarHy+M0zzxHh+izbG NOUBBw1IQ3l1Zh76dLU0KARtVi4k3DFVLwhuBeUy0N7x0kVfnJPcjYeaOQsc+1CgbH5rbfnvZ 6JSwYXnEqeg79YmmwLyDE/ZQf4NMa0XdCQMweTU0snFysi3Vbns8GuUHRIYZ+kZ0WGXX7z4LU /Hj3hndtlWW5wKaFuhpeJXlBsEQalDfsJLQyW1ucmEA0CJX7/iYXdhxeijHTPpDHxht3r1s5Z fAYmTi34tQFvNFArU9L6GRXMDg7jQD3ZPkJJIqUrtJ21Hk0XHZy+2nRbKEl6+cmCa/6it7Zey TPqHhm7oPkWBROWLeTrcfQE+4aombLNpdI1rZmHdb8tH22Ifkq1sSjOSsIw3Yz3TjHm7RB5Dg aZ4e+WC87qPnmPnkqtbMCMbmIIwArtdTlOTbuOw78ENVdfk5micYKHJU07fPKvumElRo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u7SI2gSIX/mR6z933Jr/VV7Opdge3tvDMXJ TmtajNLcgm4QinkdUhIzf2argiXqkIXZTXWSnVmJm4s+OG1vmyQ X-UI-Loop:V01:+XrYa5bTSeQ=:zI0YrYt9hlIPxChlrFg7/bmBGpu0gHOfeodvTDoVDiI= X-UI-Out-Filterresults: notjunk:1;V01:K0:J/GXKon1GUM=:0Fz1ppBg3DeMpD6DD8BP4t qkS5Hnsmg1WQtdKK59Evofh229zz8q5c6qO08aRHyFF3SnCk2JXdGP7tQweno1eSBS/I/1FkM fAMKaYhQ72Dny8Kt+9GAZeaHnBjydbjzSXk9S5UAxt/risMpZA6bwXNR3IX/142tmWFdoNPS0 FgIENT4Mj8gsB3xDWa0qqUDBBKgTn9P80TZEbFYW8wxJXObwx/Jvu11BnDTL6M4AE4waMqZo1 F5ZBiFmau1YbQRl6tPaLIVUbwvYlC3nBUUozRNmNXvnJA0WDJbnep+bpkMqP4Wj1Ovg08pfwo o63/LGirnoq8OKvwyd5jG14DdwO8+uNe3/aOpJq9Osz8/PdyU5G+y7VOK4hhKz+Db4MWWR/ZZ fbBwfsQ0f4+v+gjxHXdvEv2SfPT7VyxDz/OIsH5dtBwonZa2gnyESqXUCyiXRRf5KLqTvGIDG RCxjpcRn0T2Uzeg00wFnZWIhMRALLhg= X-Scanned-By: MIMEDefang 2.78 on 81.169.212.23 Status: R X-Status: X-Keywords: X-UID: 8062 Hello all, Following some discussion at TUG2018, the team have added an experimental package, l3sys-shell, to the l3experimental bundle. This package provides platform-agnostic interfaces to common file/system operations, for example file copying. These only work if shell escape is enabled: they will be blocked by the TeX system otherwise but in any case are set up as macro-level no-ops. There are two broad questions we have. First, how do people feel about these concepts? We can see that there may be some security concerns, hence not adding directly to the expl3 core. However, as one has to be running with unrestricted shell escape anyway, we are not sure if providing macro wrappers makes these worse: a suitably-motivated person could after all write their own malicious code in this area. How do people see this? (Note that existing packages already set up their own file copying/deletion/etc.) The second is more tightly focussed on the two (relatively) 'safe' operations, getting the absolute path of the working directory, and listing all files in a given directory. Both of these could be done without unrestricted shell escape given a suitable 'wrapper' layer. Would this be worth pursuing? Joseph