From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +NkfMcFqMmH2GQAAgWs5BA (envelope-from ) for ; Fri, 03 Sep 2021 20:34:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CFusLMFqMmFXagAAB5/wlQ (envelope-from ) for ; Fri, 03 Sep 2021 18:34:41 +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 0C8656D4B for ; Fri, 3 Sep 2021 20:34:41 +0200 (CEST) Received: from localhost ([::1]:54036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mME1P-00049a-6T for larch@yhetil.org; Fri, 03 Sep 2021 14:34:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMDqs-0002gw-J5 for help-guix@gnu.org; Fri, 03 Sep 2021 14:23:46 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:12802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mMDql-0006GF-L5 for help-guix@gnu.org; Fri, 03 Sep 2021 14:23:45 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4H1R4j23myzQlRS for ; Fri, 3 Sep 2021 20:23:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date:received; s= mail20150812; t=1630693410; bh=HqQ4hgOsLREC6RUe/NwwndfO341xSk5EG S20+Ma9Zzc=; b=VwbB7aai10sSBYepuz08u48IOCmMeJr6VjofTUR1WvOVcPcaX uNIF5dWqPZtzAx2FC/UbP9TPzZ4WUX9YZkSWQzA6z6uskJnJxSWS0qb4BAqxBArw ItDbkoe2y9yFchiDfAMgLBWeCjnZFRt+byC5yhid5rUwqw2B0PdcmBDNaUBiji86 y2+B4ZMh3B8g3bnE4sJG37iYzd3cppmc+UIoT2OPWhfkeuAPYuUINkzbj0ehxG9C XBCJBApKIT0janJ7TUrEDXTSBR5+6kXy14ASM6kOwjCgTFHAcsbsz3ThaxF5BSUY RqM26ZSLYo870+mm9KXt0mp2RMJhsYt8+mQIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1630693411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=manUxPVWcmy0yQjUfgxovRqzflONuEsJQpTHRBpkUxg=; b=RmFT77ALzBx0akGKoVLLIcjXW2zsCy/h2KPRMCbEeUhBoj1CaNny2JzZXCHkNG6D7iqWyF H/u1/WNks6V0vrZzy+Qj0vK/oIQqJYqENV7sFZRv+A8Bf5pQ6HPHJrex62zen+1DbWt8kY Hwg6WNZphoLpIttxI/9Dg+2wc+iUt+qpD1Pw+9LQv4EEC1ZKQjQ6pX0Z4Xipghs3MhS+wt xyfYAuUH7jeWT5Nmw3SsBXSYHXBu50+ZfR5r61EZuWOa5tUq9ZsomK4eWwyX4xwr+UbevD KBty3P3ZiC7ngf33X6YYMVyIEKs4Q8wWCNesvDWPvnHpbI3ADhfb3k0zhkrnaA== X-Virus-Scanned: amavisd-new at heinlein-support.de Date: Fri, 3 Sep 2021 13:24:27 -0500 From: Matthew Brooks To: "help-guix@gnu.org" Subject: How to use "setuid-program"? Message-ID: <20210903132427.29dfb907@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 92D24270 Received-SPF: pass client-ip=80.241.56.171; envelope-from=matthewfbrooks@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630694081; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=manUxPVWcmy0yQjUfgxovRqzflONuEsJQpTHRBpkUxg=; b=AoLDWysriCsFkttPh/Bu/Ts//GUZ2IKvXoL6aMk7zo4+Fg926ACFxX+jjnbq86UlZ7SOPI P6bDrQpmx09TMi1kUdKl7HbZ6+zgiMwuyEDiDw4GWasJj95KhSi8H60qieY3MzBBXSK3c6 zMc5yMxxJO77VH/3qfvRKdKGIGkCT5ThPH9UH0P4XbB/WpPljz+cQccPJzJNQHAPy3tJvN fFPJHVGlbPo1DKwkKJw0/QJCw2Ci+QzY0we8te950XVymdrjmIhPjK0rRp94KMcgGEwugK AHkBsoIFQOCxQr+Ljav04VAHbL/TNbFCCI11Qh9oqTB73ChQdhdz/IOrgsD0/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630694081; a=rsa-sha256; cv=none; b=Ci3PoWKj5y0y8yJBUJdp91vwU3t+XfWrt0Wf+6m6ch7ThUMJpxUMkjSGL1Gd8EDRYEolaj 4T/4dTfX0iz81QE5S7zPNBCqcEqGHlvTuNX0uJe4+C/IXt2hEtvuj9joTn2tu0Hdtdw/Cd 0cuNfwmXUKIpi5Ahf07LnhzW0jupPrfqj6gqA2U7NIecYGq5kRA0BvkJsmawOh30B641D2 p5sXGSOof29BtDoHFDrVbqT2Ol80ZhSBB8tzVrRc/0P9GaX8iVv9f6enmFAN1wOxm0ir21 QIW0sDK041RujiJlsEeqHjGLajIan9s36IV/LxYNU4pAnnbhF/2RjkA8lesTLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=VwbB7aai; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=RmFT77AL; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=VwbB7aai; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=RmFT77AL; dmarc=pass (policy=reject) header.from=mailbox.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 0C8656D4B X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: bfre2C6DiRs8 The old way of doing setuid programs: (setuid-programs (cons #~(string-append #$slock "/bin/slock") %setuid-programs ) ) now gives a deprecation warning as follows: >warning: representing setuid programs with file-like objects is deprecated; use 'setuid-program' instead The actual manual, however, still lists the old way as the way to do it. As such, I haven't been able to work out what sytax is actually expected for defining a setuid program with "setuid-program". I assume that someone familiar with guile could probably check the definition of "setuid-program" or something to determine what it expects, but I have no idea how to do that either.