From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 09:49:57 2020 Received: (at submit) by debbugs.gnu.org; 30 Apr 2020 13:49:57 +0000 Received: from localhost ([127.0.0.1]:45540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU9Zd-0004FL-Ht for submit@debbugs.gnu.org; Thu, 30 Apr 2020 09:49:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:51546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU9ZY-0004F9-Jp for submit@debbugs.gnu.org; Thu, 30 Apr 2020 09:49:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51112) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU9ZC-0001b0-5m for guix-patches@gnu.org; Thu, 30 Apr 2020 09:49:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jU9Wo-0007VV-2X for guix-patches@gnu.org; Thu, 30 Apr 2020 09:49:29 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33012) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jU9Wn-0007Or-AA for guix-patches@gnu.org; Thu, 30 Apr 2020 09:47:01 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D4EE52B2C8 for ; Thu, 30 Apr 2020 15:46:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-nsOnfPqKwW for ; Thu, 30 Apr 2020 15:46:57 +0200 (CEST) Date: Thu, 30 Apr 2020 09:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588254417; bh=TXG13My10Xs7QS8A9cmmNHR50MMBcGACHIAlq9QsjXQ=; h=Date:From:To:Subject; b=UvjXI3CjlV0ag2dyEcssIjUJ3v8KgIqMcNrB0xxwPFNtjqX6mkf9k9XCaLDWd4Oth 6Pl7rklxEHDV0YvodQT1/nHM4kMLp7UihpuaS0HAg0lKOmHAUmcGE0UmlI1mzcA4Op cKKBrfA6KELc5XMfbXTXr8lvB0LTcmnDkk7pcQEmKYdBPBTjk8v+R73yGM7yT4v3Xt 99kXGTskJLg4QWZAYpvTk7w4Zg4BnCCaJbZlhZaf+pG0FDnWx5P1pTMM8LVKzvOzQ/ 5k5ES5KxxoswgZpFJMUDfRFZz9sJO50S4rm/xnpMDtECaOQyaf7SfFiDeHscVIzNz/ DnzaSmyN1U+ZQ== From: Raghav Gururajan To: guix-patches@gnu.org Subject: gnu: spacefm: Fix privilege and disk management. Message-ID: <20200430094639.3d0c9786.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/RDS2Xg4Hngwai.AR_MK1lC5" Received-SPF: pass client-ip=178.21.23.139; envelope-from=raghavgururajan@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 09:46:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.21.23.139 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --MP_/RDS2Xg4Hngwai.AR_MK1lC5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/RDS2Xg4Hngwai.AR_MK1lC5 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-spacefm-Fix-privilege-and-disk-management.patch >From 3bad3e31dd0076e6ad87ee4e2045acd744768601 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 30 Apr 2020 09:44:32 -0400 Subject: [PATCH] gnu: spacefm: Fix privilege and disk management. Patched references to sudo, ktsuss and udevil; to load them correctly. * gnu/packages/lxde.scm (spacefm): Fix privilege and disk management. --- gnu/packages/lxde.scm | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index 9de96a21cb..a52e403106 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm @@ -27,6 +27,7 @@ (define-module (gnu packages lxde) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) #:use-module (gnu packages disk) @@ -279,7 +280,6 @@ with freedesktop.org standard.") `(("bash" ,bash) ("cairo" ,cairo) ("curlftpfs" ,curlftpfs) - ("dbus" ,dbus) ("eudev" ,eudev) ("fakeroot" ,fakeroot) ("ffmpegthumbnailer" ,ffmpegthumbnailer) @@ -288,6 +288,7 @@ with freedesktop.org standard.") ("gtk+" ,gtk+) ("ifuse" ,ifuse) ("jmtpfs" ,jmtpfs) + ("ktsuss" ,ktsuss) ("libx11" ,libx11) ("lsof" ,lsof) ("pango" ,pango) @@ -297,12 +298,31 @@ with freedesktop.org standard.") ("util-linux" ,util-linux) ("wget" ,wget))) (arguments - `(#:configure-flags (list (string-append "--with-bash-path=" - (assoc-ref %build-inputs "bash") - "/bin/bash") - (string-append "--sysconfdir=" - (assoc-ref %outputs "out") - "/etc")))) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source-files + (lambda* (#:key inputs #:allow-other-keys) + ;; Patch config file to load programs correctly. + (substitute* "etc/spacefm.conf" + (("#terminal_su=/bin/su") + "terminal_su=/run/setuid-programs/sudo") + (("#graphical_su=/usr/bin/gksu") + (string-append "graphical_su=" + (string-append (assoc-ref inputs "ktsuss") + "/bin/ktsuss")))) + ;; SpaceFM expects udevil to have uid set to root. + ;; User has to manually add udevil to setuid-programs. + (substitute* "src/settings.c" + (("/usr/bin/udevil") + "/run/setuid-programs/udevil")) + #t))) + #:configure-flags (list + (string-append "--with-bash-path=" + (assoc-ref %build-inputs "bash") + "/bin/bash") + (string-append "--sysconfdir=" + (assoc-ref %outputs "out") + "/etc")))) (home-page "https://ignorantguru.github.io/spacefm/") (synopsis "Multi-panel tabbed file manager") (description "SpaceFM is a graphical, multi-panel, tabbed file manager -- 2.26.2 --MP_/RDS2Xg4Hngwai.AR_MK1lC5-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 08:15:46 2020 Received: (at 40982-done) by debbugs.gnu.org; 1 May 2020 12:15:46 +0000 Received: from localhost ([127.0.0.1]:48383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUUa1-0005Fc-R5 for submit@debbugs.gnu.org; Fri, 01 May 2020 08:15:46 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:46486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUUa0-0005FT-GS for 40982-done@debbugs.gnu.org; Fri, 01 May 2020 08:15:45 -0400 Received: from localhost (80-110-127-207.cgn.dynamic.surfer.at [80.110.127.207]) by dd26836.kasserver.com (Postfix) with ESMTPSA id D7DA73362C63; Fri, 1 May 2020 14:15:42 +0200 (CEST) Date: Fri, 1 May 2020 14:15:42 +0200 From: Danny Milosavljevic To: Raghav Gururajan Subject: Re: [bug#40982] gnu: spacefm: Fix privilege and disk management. Message-ID: <20200501141542.0de51856@scratchpost.org> In-Reply-To: <20200430094639.3d0c9786.raghavgururajan@disroot.org> References: <20200430094639.3d0c9786.raghavgururajan@disroot.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/.0HES5LOnQ8viYWWhIm671P"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40982-done Cc: 40982-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/.0HES5LOnQ8viYWWhIm671P Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Pushed to guix master as commit 53e8b852e90ec91e66172ad49f019955d7137eb1 with changes to commit message (to use our convention of change metdata log= ging). Ignored src/vfs/vfs-file-task.c /usr/bin/sudo since it is not used. --Sig_/.0HES5LOnQ8viYWWhIm671P Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6sEu4ACgkQ5xo1VCww uqWPoAf9Gh4Hq5WZ1L6iEOXTnsprUhG1AMDz8TytpMyjS8Bi0Kjq1sMIbA4sWUhy iwOmfJg8dpIksJRihVqqSZnyCfuVBuFEsRIfIdhR3RRAIH/zJLXfwOQ9GAXz8drr N5EaFFBmTaV3Ii19FVInJrx9fyrZTy4Gjp1Ns7kWp/lcNk6Gd/+DjIn1FrFc1R3W Yx7zNyT02QH2MHGG/ISKLRWVaw2fj9NBx/gwIH1BV+EwxQP17WWNGcYmusnPy0K2 dSC+eBNQD7+QJKj7CCmi2MSoGG6THFOJKVUEKmJ5o1QMlgORJNdiAfXGdtk2L4x6 k6WB8LK25wtMf8mPK0KDI3WdQQdxMw== =Bqib -----END PGP SIGNATURE----- --Sig_/.0HES5LOnQ8viYWWhIm671P-- From unknown Fri Aug 15 02:02:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 May 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator