From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qN4EKdls9WCWLwAAgWs5BA (envelope-from ) for ; Mon, 19 Jul 2021 14:15:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UC24JNls9WDxTwAAbx9fmQ (envelope-from ) for ; Mon, 19 Jul 2021 12:15:21 +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 304C1F96B for ; Mon, 19 Jul 2021 14:15:21 +0200 (CEST) Received: from localhost ([::1]:51834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5SB6-0001P5-9K for larch@yhetil.org; Mon, 19 Jul 2021 08:15:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5SAo-0001Ol-Eb for guix-patches@gnu.org; Mon, 19 Jul 2021 08:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5SAo-0004Ac-59 for guix-patches@gnu.org; Mon, 19 Jul 2021 08:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5SAn-0001S1-RW for guix-patches@gnu.org; Mon, 19 Jul 2021 08:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49601] [PATCH] services: transmission: Create downloads directory. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jul 2021 12:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon South Cc: Morgan.J.Smith@outlook.com, 49601@debbugs.gnu.org Received: via spool by 49601-submit@debbugs.gnu.org id=B49601.16266968655521 (code B ref 49601); Mon, 19 Jul 2021 12:15:01 +0000 Received: (at 49601) by debbugs.gnu.org; 19 Jul 2021 12:14:25 +0000 Received: from localhost ([127.0.0.1]:58238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5SAD-0001Qz-Fp for submit@debbugs.gnu.org; Mon, 19 Jul 2021 08:14:25 -0400 Received: from flashner.co.il ([178.62.234.194]:38314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5SA9-0001Qh-1G for 49601@debbugs.gnu.org; Mon, 19 Jul 2021 08:14:24 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 4356B40041; Mon, 19 Jul 2021 12:14:15 +0000 (UTC) Date: Mon, 19 Jul 2021 15:13:04 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Simon South , Morgan.J.Smith@outlook.com, 49601@debbugs.gnu.org References: <87y2a5gnt6.fsf@simonsouth.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="e4reVeQoChYaVqsn" Content-Disposition: inline In-Reply-To: <87y2a5gnt6.fsf@simonsouth.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626696921; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=V9nIGDqJiwkpJkL2o2MrBeQhmFBQR9RsZDoQtdiJEKM=; b=SDJnRxq3gJgCIykho1a1e4SX3T/cD4YLDUNZOY38VWTfvE4lsjsndwtaSPG2MNWzB/gITj RNyCOneIkL6yLdJI/uUOc2SygGuaqM82pPE5JjUPkx8iufcuv8Bv3CxwUKuiGTvrad1ken /XAAQa1ZeebpGH82p/FlOsuP8Pn29nU8j88Nv++TBc2opH+Z2bNRnTVcrFCsAR9f3EeJP3 oV2ihtYIuaqMTBwVDBws5G/054RvENdMGwz7P+WYvXjRQ6EqI+EzU1DJqTPOXp8lzUXmRS sidIhbUzvC+nIpfcGUJgwk4q+nXccMbuSrE+4M2OTJjgXiFrpbBZuovNE4Ackw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626696921; a=rsa-sha256; cv=none; b=bEdXCEe5sVqxTzohb1j4sojSPETufVc6cyyDCBvxWdz6e2YOQ2Rk00M+BP9715hrCXSSCG U31br9ISaDw8XdXXSCE3PAvMW6pFSjtDbMf0TrxX+6sW7Gl/i+ba1QmU4zCrmiCxREtm0g ClivP+Y/JvCYyHPhXM1NoQGYwN/oVm5XHHfuYi/I8JnrcVdahQJcJS010Fb2jTMPulO2IL rCbCbKQj/5+ed61ol4W6soHowEUcaxM8odyXTk15EiCD8r5IXP8q2Ym1o/Bya3fXPUZqhx 8KaKAU2MgOpEKO43rMoY6N0AaDOuEXfwdj8LVgXI00+LrOJBOLYMNViJ8RdF5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 304C1F96B X-Spam-Score: -4.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: ypQvEBaAa2Fo --e4reVeQoChYaVqsn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 17, 2021 at 07:52:21AM -0400, Simon South wrote: > Morgan.J.Smith@outlook.com writes: > > This fixes a bug where transmission doesn't have permission to create > > it's download directory. This bug occurs when download-dir is > > configured to a location where the transmission user doesn't have > > permission to create a directory. >=20 > Morgan, >=20 > I recall originally having the service activation create the downloads > directory, as your change makes it do, but then removing this as there > was some common case where it made service activation fail. > Unfortunately, I've forgotten what that was. >=20 > Let me see if I can duplicate that and if so, perhaps we can find a > solution that will handle both cases. At any rate: >=20 > > + (,download-dir #o755)) >=20 > The folder permissions should be #o750, not #o755. The reasoning here is > that it ought to be possible to place limits on who can see and access > files being shared by other users. >=20 It's possible it was mkdir vs mkdir-p (ins)scheme@(guile-user)> (mkdir "tmp") (ins)scheme@(guile-user)> (mkdir "tmp") ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure mkdir: File exists Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. (ins)scheme@(guile-user) [1]> ,q (ins)scheme@(guile-user)> (use-modules (guix build utils)) (ins)scheme@(guile-user)> (mkdir-p "tmp") $1 =3D #t --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --e4reVeQoChYaVqsn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmD1bFAACgkQQarn3Mo9 g1ESIxAAvwXa1H0F+0oxG1qsXm7kCX462HoHCg1g83WGn0K86wPgtUxZ4XK6f7GN hxSYOdepLf40sIv7Q4CoeJa70B5BeNAnEqb+0IPgcnK1qwbYWXmUHSiRfkFdOEU/ 1XG9Wjx7a5n8syas7kyaq6R/3AEA6buXCqdiGttH10nMsgb/V/Bl1r3tMTBbcxvD X/M3lRm4EdvUTH3y7rh7TE1SJLNQ9g1Fh5LvnFCpBRh5ZZKtKYC+DBV0kMvZ9sBA Ye2oDzSvAQp0AjfgikiLUlKeaFcqBYU4JL/FZLa756YU6qHIDgGdiWMpTzD1ez7o MwYyIV8I52gVyicHKNq6z9Zg0mUpe2cOqPMA/KnUD+Um1/uThiTPuFOK6xElxpee LHcPlrmZCe3bN5FeY6NOJfrKqL5/I/1Qj0yAeXR4VpHkxS4KdpM3t90WZmU65NNk qTaqNpHbTK0Xexg0dWoQL3N4h6iCU29unmGBd6VqwOw5qrgAXa5AK/UYbhw7zEMG XMUhkX13/a+obCeJGGF1g4+ySiNrfP4zXPoYAy3u4sDMOpTBj8eboosc8rM6WLHE oiG0Rek3yI0I3/B3kViXdLos28ureyXmqovZ146sYnc/og4gOnhOYG+GkbQSV7s8 ZnvqviC9hjYPd/a7Y45fPBlfIicXmIdDWYFkrsAyjNYEEZvAAuU= =SBKO -----END PGP SIGNATURE----- --e4reVeQoChYaVqsn--