From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qDsQL30ydl9sLwAA0tVLHw (envelope-from ) for ; Thu, 01 Oct 2020 19:48:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4AHBKn0ydl+fTQAA1q6Kng (envelope-from ) for ; Thu, 01 Oct 2020 19:48:13 +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 4A8A89400EF for ; Thu, 1 Oct 2020 19:48:13 +0000 (UTC) Received: from localhost ([::1]:49704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO4Yk-0004YU-Hw for larch@yhetil.org; Thu, 01 Oct 2020 15:48:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO4Yc-0004YF-Ug for bug-guix@gnu.org; Thu, 01 Oct 2020 15:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kO4Yc-0005GI-GS for bug-guix@gnu.org; Thu, 01 Oct 2020 15:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kO4Yc-0005dV-F6 for bug-guix@gnu.org; Thu, 01 Oct 2020 15:48:02 -0400 Subject: bug#39670: Cannot mount NFS share as user or root Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 01 Oct 2020 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 39670 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nathan Dehnel Mail-Followup-To: 39670@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 39670-done@debbugs.gnu.org id=D39670.160158165421614 (code D ref 39670); Thu, 01 Oct 2020 19:48:02 +0000 Received: (at 39670-done) by debbugs.gnu.org; 1 Oct 2020 19:47:34 +0000 Received: from localhost ([127.0.0.1]:38441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO4YA-0005cY-5o for submit@debbugs.gnu.org; Thu, 01 Oct 2020 15:47:34 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:34323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO4Y7-0005cL-Tr for 39670-done@debbugs.gnu.org; Thu, 01 Oct 2020 15:47:32 -0400 Received: by mail-qk1-f177.google.com with SMTP id c62so6945586qke.1 for <39670-done@debbugs.gnu.org>; Thu, 01 Oct 2020 12:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=nIdoKOYQqiF0GfvksfV9wZr9hC6e4pp05tiNUzYU9wk=; b=DeiD3hOmWQAJ4+b1tsWwbs8euxlnMs8OO1mp7O/Bf7yHrfayX7ZgFR6QYyxR77J9C9 yd32VZ9w8l5URPtFAOEm1/9J/fLb3agiZm6fBIs1+0Pai7xXZHVNRXv6085jJX3MqF31 VEt2Hnd2XT9Z4e/KljtRnJt3jm3/Qz6l4jw80/EsHYqeoIYV2OHEprlA2NC2aZMHkDCn ycoW4wX0ybjj/XLiQRMGloiy0k6RbR3WHORM1APFVqpA8dkDMuaPR4eNN2/8dLO1CFmr EfZy8KES7ZuVrpKMmwgcbO49htmxxsyqfNIbUJUukmK+eupt51mycHPEPrbK7mmbZ7nQ BHUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=nIdoKOYQqiF0GfvksfV9wZr9hC6e4pp05tiNUzYU9wk=; b=mIqLsH4E34iD8GV1AjxohPNOdNLw3R7uDLTNQv5hdFf+qOVbL8h6/zYAUDJG6dcDHa BFgf1xkdA7febVNqcYw75eVd1tpR42HOgYAI2KXKKTMKw8Dmr3bNarqx/UVdeCThNK7T aImOc8VWdgwaaC3kk8fHu0f4mE6khenhjoS3lLrh/PeYgtOannG3cLvEmN3TxMKRc/WI guq+YOZmmA+vb3wFOFkgVlSAgybDHxdmu6IRftQhWbk1ySby9G3LPVsnp/eOediXdn6B W8GMIor610WQQgbM/sr1mARta4jm9wc1G48Ed7WtH0A0piJoO5FnK4Hkry04mMXd7aNz L+mw== X-Gm-Message-State: AOAM530cJlmOhbcwYvV0hcglhYgkJsRdi48nNlHArlMXcRhoPzrj+Fde rJ7/5EwlpINjmqm8RHQNWCAlZy6n2vf3Vw== X-Google-Smtp-Source: ABdhPJwXfc/UGbEjhaF1BBFgnkRktLOF+Ynx8j9toHHGfA5049huEegtJpgzf3oGF7MAuW7LKrxMUQ== X-Received: by 2002:ae9:f301:: with SMTP id p1mr9389261qkg.216.1601581646098; Thu, 01 Oct 2020 12:47:26 -0700 (PDT) Received: from hurd (dsl-10-135-18.b2b2c.ca. [72.10.135.18]) by smtp.gmail.com with ESMTPSA id p3sm6975054qkj.113.2020.10.01.12.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 12:47:25 -0700 (PDT) From: Maxim Cournoyer References: <87o8tvwpfk.fsf@gmail.com> <87v9o18bum.fsf@raisin.i-did-not-set--mail-host-address--so-tickle-me> <875zcg7nyu.fsf@gmail.com> <87y2kzvmc2.fsf@gmail.com> <878scyvczd.fsf@gmail.com> Date: Thu, 01 Oct 2020 15:49:04 -0400 In-Reply-To: <878scyvczd.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 24 Sep 2020 21:53:10 -0400") Message-ID: <87ft6xohfz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 39670-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=DeiD3hOm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: sYXX8TtgYMkJ Hi! > Nathan Dehnel writes: > >> Right, but it's more inconvenient than just clicking the share in thunar >> and it mounting. Actually, I can't mount it without doing "sudo" first, >> despite having the "user" fstab flag set. This actually might be a separate >> issue, but I'm not sure. > > That's a good point. We should try to make this simpler. The mount.nfs > binary needs to be setuid root to allow unprivileged users to mount NFS > file systems. Unfortunately, the mount command (which we already define > as setuid-root) only looked for helpers under /run/current/profile/sbin. > This is now fixed in commit def6e2ae4619587114383b3f8fd9f3cf8310b4b9 > (which had to be made on core-updates). > [...] > I've sent a patch for review which proposes to add these setuid-root binaries for > desktop users out-of-the-box on Guix System, which only adds about 4 MiB > to the almost 3 GiB closure of the lightweight-desktop.tmpl system [0]. > > As mentioned before, it depends on a change to util-linux that had to be > made on the core-updates branch, so it won't be usable until the next > core-updates merge. This patch has now been merged with commit d40c9f6c85. Closing! Thank you, Maxim