From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2EfdL04u4GbQVgAAqHPOHw:P1 (envelope-from ) for ; Tue, 10 Sep 2024 11:32:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2EfdL04u4GbQVgAAqHPOHw (envelope-from ) for ; Tue, 10 Sep 2024 13:32:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Pg+h8Qj3; dkim=pass header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=B2M3KezZ; dmarc=pass (policy=reject) header.from=ngraves.fr; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725967950; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=m8WNcLhkuTOFq6nyFHzeFk53XpXjuhYd0dtHmg7tRN0=; b=Wx71N+QELh76ZKmbLK4R/mTUg0ULYH4wEJK6/6rA+kBln2457AOfba0gg3BlVABba7AhK7 Ny5/sk0MJnr8kJS5n8m02M6SCoaMSNghLFI4lLB0socA/Z3vROtNMpxAkJ86bGe0rihISy wg4jVlRVDcLCaA5U8LyQWTRhmcgzmI6LKeRyCnSWC7y0yyIUqPY6eRsLOf0uj0tAFtAtsp /nVpjwhzVZYEV2aHtImOQV2b5oYSqizzt9JkdOQSFY/LIzy/+VthYZoNUxL4DqCKcUBYB6 E1xOqvGzIl/qv4iYOi6KbW2xfpuIMr60A2NSFy5lLxUKEfbvg1HDoa3l1zHDOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725967950; a=rsa-sha256; cv=none; b=iDzcUdYkXVKit/A0jTNK2fjR6Vh9Hs0bYfWZQFIndpHjGyyeM+u86Axv1YMqYDWeoG8Wcc lXxbiTGWPc/3z38l73haVCL6SeYk45z6zIeMevYuPhN1NjZMb5c4PTL9jbSvId9AxETxSU L9QfE/zbgSt69OzdBfIzGizwNsyO3xeKCw4Nc+hrqwm+1Y2xvDZjJ4z+oeUWgj88JCb6Iw 5/4VrJuHYzX0VLFhq1HpsQqsBzHKeOg3OM3s1LblpCMfCXiD/CCgBpNcRFJC628VVFAey4 DQbHNmMc0CFSHOa15Y8gxpDPKnIsMChverNrjxvDIgNA+TC9fQ9bE4TDRizBjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Pg+h8Qj3; dkim=pass header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=B2M3KezZ; dmarc=pass (policy=reject) header.from=ngraves.fr; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" 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 537D07DD88 for ; Tue, 10 Sep 2024 13:32:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snz6F-0004Yp-QB; Tue, 10 Sep 2024 07:32:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snz6E-0004SS-0u for bug-guix@gnu.org; Tue, 10 Sep 2024 07:31:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1snz6D-0003pi-O6 for bug-guix@gnu.org; Tue, 10 Sep 2024 07:31:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=m8WNcLhkuTOFq6nyFHzeFk53XpXjuhYd0dtHmg7tRN0=; b=Pg+h8Qj3EP72Z6qjMCVYcZIKAZ313o7r8aFKJKMjQnTx3O9NGjgESoVh7Rvq4nET7tgYpoz/DWusZBerPOrcyPH/wChIFzmwKayeqb9dzv2fsx+gZXvq4YJ4om5a3PFzG1+U7dd/2XCmFe7RcEw+Lz7DOdEpwd6F0UhWTyoua/cSH7JYwBol9sSenrgJxdqbj/lUjVG7Ysh5jPMdazHwt5a6nEvgFZnOPKdeUODSrp2O5Ao0+j1d8sxue/8ssAbq8hlDuGY3Zm9qcxKr0ueOMoj3hYp7zHgkDyz+VSJX0fa12BVZVGlT6U27MsGFxyfD1Vi2KKejoi/c+/knWZev7w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snz6I-0005xi-IW for bug-guix@gnu.org; Tue, 10 Sep 2024 07:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73166: shell-autorized-directories Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Sep 2024 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73166@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172596788622871 (code B ref -1); Tue, 10 Sep 2024 11:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Sep 2024 11:31:26 +0000 Received: from localhost ([127.0.0.1]:34926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snz5i-0005wp-GH for submit@debbugs.gnu.org; Tue, 10 Sep 2024 07:31:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:53154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snz5g-0005wh-SR for submit@debbugs.gnu.org; Tue, 10 Sep 2024 07:31:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snz5a-0001pY-LQ for bug-guix@gnu.org; Tue, 10 Sep 2024 07:31:19 -0400 Received: from 7.mo582.mail-out.ovh.net ([46.105.59.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snz5Y-0003oN-Bc for bug-guix@gnu.org; Tue, 10 Sep 2024 07:31:18 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.2.253]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4X31jn0B0Bz1P2y for ; Tue, 10 Sep 2024 11:31:08 +0000 (UTC) Received: from ghost-submission-55b549bf7b-qstfj (unknown [10.110.164.113]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1BFD71FED6 for ; Tue, 10 Sep 2024 11:31:07 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-55b549bf7b-qstfj with ESMTPSA id nc0zKPst4Ga/XhIAaG50Kw (envelope-from ) for ; Tue, 10 Sep 2024 11:31:07 +0000 X-OVh-ClientIp: 86.246.19.221 From: Nicolas Graves Date: Tue, 10 Sep 2024 13:31:07 +0200 Message-ID: <877cbjwxs4.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 3313523426521899696 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeiledgfeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueejleeileejfffhleetjedtleejheevudffleevgfdufeekhefgvddvveegveefnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegsuhhgqdhguhhigiesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=m8WNcLhkuTOFq6nyFHzeFk53XpXjuhYd0dtHmg7tRN0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725967869; v=1; b=B2M3KezZSdHsXZAfvxXR6KRkA9ZVFCSH/SiMjBep5v7e74xW2+ZNey1nChY/4reyPP+RPIOW G4LHswGPCwMH5F3EO3VBb8GhAsJyM9LyHLj+Qn0/kaxClLKHUwEqs+VmPw/SmHXMbRD2P9Mb7Fx nx30hkkBhcRmpKA+84pDrzTin/nU1c0/JSyK85y6eYoWruLs3zZqB3dRoMa1L/BWjdtD1tvs9XX Danxr6dt1QYyl5ATF1ACEHt7S3VF35Q4EYbSDhPB9JnL32MfJ+6luwas7kCctzBrG6R9Vk13fQt jLIzGY0wMY8LtEsIIARHXNblmE7dOV2HW9q+fzjlzrGZA== Received-SPF: pass client-ip=46.105.59.196; envelope-from=ngraves@ngraves.fr; helo=7.mo582.mail-out.ovh.net X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SUBJ_LACKS_WORDS=1.161 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 537D07DD88 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -11.76 X-Spam-Score: -11.76 X-TUID: 6IjjqzsuoTXh According to current uses of the XDG base dirs specification, I think guix shell-autorized-directories is in the wrong place, and should instead be in $XDG_STATE_HOME/guix/ direnv uses $XDG_STATE_HOME too to store authorized directories, and it also makes more sense in the context of immutable configs WDYT? Should we implement this change? The tricky thing might be the migration for those files. Maybe we should also add a --allow argument to guix shell to make it easier to add files. -- Best regards, Nicolas Graves