From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0FOSK6kp8mDCtwAAgWs5BA (envelope-from ) for ; Sat, 17 Jul 2021 02:51:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YCowJ6kp8mA7CAAAbx9fmQ (envelope-from ) for ; Sat, 17 Jul 2021 00:51:53 +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 5EAB6F85B for ; Sat, 17 Jul 2021 02:51:53 +0200 (CEST) Received: from localhost ([::1]:33372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4YYa-0001dS-DF for larch@yhetil.org; Fri, 16 Jul 2021 20:51:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4YII-0000fu-5f for guix-patches@gnu.org; Fri, 16 Jul 2021 20:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4YIH-0007J5-T2 for guix-patches@gnu.org; Fri, 16 Jul 2021 20:35:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4YIH-00031b-OP for guix-patches@gnu.org; Fri, 16 Jul 2021 20:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49601] [PATCH] services: transmission: Create downloads directory. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jul 2021 00:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49601@debbugs.gnu.org Cc: Morgan Smith X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162648205511568 (code B ref -1); Sat, 17 Jul 2021 00:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jul 2021 00:34:15 +0000 Received: from localhost ([127.0.0.1]:52581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4YHW-00030W-KY for submit@debbugs.gnu.org; Fri, 16 Jul 2021 20:34:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:50218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4YHS-00030N-P0 for submit@debbugs.gnu.org; Fri, 16 Jul 2021 20:34:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4YHQ-0006AS-L7 for guix-patches@gnu.org; Fri, 16 Jul 2021 20:34:09 -0400 Received: from mail-dm6nam12olkn20830.outbound.protection.outlook.com ([2a01:111:f400:fe59::830]:9889 helo=NAM12-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4YHO-0006l2-Q7 for guix-patches@gnu.org; Fri, 16 Jul 2021 20:34:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nbMkkwQivbLlXLxAZwupxjrrU8Y+YbjIM0v1uexXU7Pdi0TTEzRt8FyTL9dXp8aRiD6EhPLaUb1MhLQXfFoexSu4iQMduFOupoGrUVFB+EyNpqdI3/V9gw6A+5m730xqtiLB+3T9patxiWlKJhsL3AgEOPqqfasf5YL4MllUS5m4XRr9JoCf9wA/c9+Lvk6E3XQ8MsSfpqu6pjtZdUOdYlyYERO16IXvOQIjZTyoGX9D1qlHDuEufC2kW3DBVCpoDbNxw3qkeE7W5y1XDZck6shb1g9Xrx6RPVvQNEcfPn28/7PaymxuDLrLjrOLEEr+XLW0K5jzorRJV1ge0jwEpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2Kv4Hcqug9VTWdKV8o15wDcNm6WaDm56/cf6FfoW4pY=; b=VbDLXtVME4+6mVc43N4qPP5GeyZBnXIfMoyLgRl1HpMOmQQvlxBfdD/8zW+JJT7mDxSXaa1Ncx+hDd8IH1TTfEYtpE+uQdE8XDGjIPk/xZQT8Bd2FtuZxSUSEqQmEbZRViGawzrh9Vt/5wY8P+0z0qfG1zOMD+2VXvjvHUGppYh8HYqWGoNKBBgoPzlZ4SR1D7FAGHeDtD7HYU+ta2a8vgSSoHWG6okFRXOGb19hmlKxiazCOJwvZLVorZM/4t3jwC/lXdNVD6/obiT3niY2F9YDqGvwR36d/Ey42FcAD20/JmlgQiWtdIbtc0wuw5qIDQL4NAeprSMTA/k0hJzJOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2Kv4Hcqug9VTWdKV8o15wDcNm6WaDm56/cf6FfoW4pY=; b=op/w9pCMppvj6WpzSWx9LtXRdJ4izlj1iBGD+45y3CHpYf4BwQ36T4f7WVDmp8XjUZrLUY1CeteyHb0LNcvQMd82excn5yqKW8uuKXbAA27kzQCtkzitAOe2rsCsaf6Rt4GtOc3HiDH7Y094lLqaSGcnt/WU2A8OJBFWCdTEfqimXrvCGWgGAlsOZfxJKutkhx8frym4/E/u+17yjrGraC8g88BqgMNljq0FFJUgPLd+LZaUpTiUgfPVFMsDsn3IijrC/YG/HAOKRVSm2Xf7ZYZ2yvjNewPGVNF/YXHcHd85g/TFNm6pEg17t9W1qlEZ+msMKGzuGj4l+DAkOp6P5A== Received: from BYAPR05MB4023.namprd05.prod.outlook.com (2603:10b6:a02:87::30) by BYAPR05MB4439.namprd05.prod.outlook.com (2603:10b6:a02:f4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.14; Sat, 17 Jul 2021 00:29:04 +0000 Received: from BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::a8fb:37d1:b1a7:6841]) by BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::a8fb:37d1:b1a7:6841%5]) with mapi id 15.20.4352.013; Sat, 17 Jul 2021 00:29:04 +0000 From: Morgan.J.Smith@outlook.com Date: Fri, 16 Jul 2021 20:28:31 -0400 Message-ID: X-Mailer: git-send-email 2.32.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [a8dk/nhD/r+vi0eD688lWABo8TlOJH8r] X-ClientProxiedBy: YQXPR01CA0115.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:41::44) To BYAPR05MB4023.namprd05.prod.outlook.com (2603:10b6:a02:87::30) X-Microsoft-Original-Message-ID: <20210717002830.24790-1-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQXPR01CA0115.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:41::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Sat, 17 Jul 2021 00:29:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eac60ff1-c696-4ed8-ef65-08d948b9e0cf X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UISu0KpCjC6bp3SOlRwUczU4BGBgghyrJ2VUeVTqfhGMu5zyzCrJwJQPL6zV6M4UOipguWNSqU8jt7b/NErHLOOaIKyGwGhRhqYduIC6rECIGC3ao5mCiXSvfSJoPnbBeX6ocTut5hLLSrPBxPlcZX7SGePyZSDSHp9hhS3nKZzEfhzf1JbeKXAZTD/XAaHOVYhhIi7XKmvEdHfsg1hz9wWGdS+kDJgUHbi7HCA2cbpw4RbCLCWMhK0nwXx592Kwa1g/yLnu0u3abyYHruyAU6rtq/9WMK2sopa2oxPGX9OEcRCauFQ35u5MYgGfS65yZmKqcJrIwR1IvO7gkslBahh2uriVDVQNnyTIgDzdxx4wE2fWL41p+ohBirvYCLMI5P3fzqgw9vAJYF+LHqtURIrZAgV8wDp0VsL40GToz4cEHZIBdPl5eXPrLRRdZW+9EBzLYc0HRq5isV16r18p1NijhCWfyUxlWavMfmyovBorgb5MMxVteA0uX/9RrXl6JFlvtZ/FhB6VdZWK95le++qCfAJgqVPB02I+DvAGJu1URdGnUwmTiEp+yFWUzkkKVwlKNH/GByrcF6RoIJVj917TBH6CufTu9qi5xEPYehDy7TnRHUg0nGyj/XYBpgJhsPMRzGZipCcVbaLaxxyOMb9DIcxtL/mMJAkI1djdI4E+HeI9kQMdnOEOB8urxNEfk28PU/AOyqhEQ== X-MS-TrafficTypeDiagnostic: BYAPR05MB4439: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d/0QA2jyNo4DMjiMayO8tMt34cuyzaQ9nc0ifQSOO0VVxAwuS68A7OjFDiR+l7xDgWKWiGaLsJ3downhnBItVRqJn5qpjXYLHrFU9ALXqFfoUcQjDrYRpFbpxOkHF7R1YPiJQOBw2W/L2ui5JFZhXBqaBCh+LhbbDaEaJ/xYM5AgiiRdTvr/+gB5Ztw8nswu3PwHHVmkT8ViQXLjCiUE3Ss8edmCfGK9uLzjHsETzjhAJdCr7Bi4KuCMWyJ/L3lCec4tmrQDv5LZDV2Gpw+DR0In5QOTpo9nReOS8zmq2NFOjfWduFaoMNnUkMRITf3QrOph0CXlc8HiQYhRRjk0jA5VdSS1zkqbSnHJbsq9Gc+8noEL2D+KQ7vEhlkn+m9SkFXAc46rElaoah/hU1FyMAich2LybPb0FFdVqbq9L1+tZFbxd91nhEg5wow3mOOy X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DLkCKCWVD9BWBMEBiQSXueX6Zulm7BfyjsQaPHlkb8Wzg8z6OCrUb7L3XU2DtmsG/oeACjmbFT/7K2QV87eEZ4AIDG4bh8W46a1hkekzkel1t5TsQeaXSZ3pMr3QZwFvzkHQgpRoBbqnQOoHBv85fw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eac60ff1-c696-4ed8-ef65-08d948b9e0cf X-MS-Exchange-CrossTenant-AuthSource: BYAPR05MB4023.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2021 00:29:03.3785 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4439 Received-SPF: pass client-ip=2a01:111:f400:fe59::830; envelope-from=Morgan.J.Smith@outlook.com; helo=NAM12-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626483113; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2Kv4Hcqug9VTWdKV8o15wDcNm6WaDm56/cf6FfoW4pY=; b=t6VIxTgJAfttTQgHFz9Frds6ozUtopejiTbTgYibcTvnP0Oo+a9e1crxTBPdpnVE7hqVYM 2dtZ4W3VR7V4M2U7Z5PoVLn0VciLy15Y9qyHfq9hdOcMF4vNp2tIuOn4bigpVZKJLfbH1A tfxyrm7aXcFH2oPB3f76iXEGt+wzt5gIouiqNUKGW1OEqhSK4C7uIqvmK7sJ+88NaFkdg0 VI/TI8b5/jspn0ghNW/MOqoK8olqJIL2Vc2LoR5mEp1B0AhHuM4LzJcmKYJ6U1L8KB9h0z zdodjTc7FnFrLKptTycDhkFAb/xvjrlVtW+Iq4H9ALX9aPim6lPxRzuhAB4K3Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1626483113; a=rsa-sha256; cv=fail; b=QkiZuQD1BpIprNkWyZC3WeoQ4qm9cIBIdwx+fxaR/7xSGzLusJrpJ2MPNHGrq9dUj6YsmR E5am4I60U7Jg6okw9TSDe1M6001ycTkCoHLYw8zWuPq43TzpElzJE1wzjl6D9KJarw5p9D ksXHLcl5jmpvSa4Vvb0ltkyKvs45AZlPHojW7vndXZ7EvcMspd+qc8NOc2vjo5pP7aZgj5 GOSkdKyeLNlaDFdAj1ofMmYxfUgcWjDeXh27zvL50MaErU7snYgUVEMELMa122sLyxPaJc 5qkJZvrwwu5SVNM6CcqTp4rE5BEbKtjjeTK2rJvPTR3Z4iDCyU/gCE4jVTuKGQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b="op/w9pCM"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=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: 3.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b="op/w9pCM"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=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: 5EAB6F85B X-Spam-Score: 3.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: qDjZ2zk0o7Lo From: Morgan Smith * gnu/services/file-sharing.scm (transmission-daemon-activation): Create downloads directory. 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. --- gnu/services/file-sharing.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/services/file-sharing.scm b/gnu/services/file-sharing.scm index 72cd6478d6..143fd3ed75 100644 --- a/gnu/services/file-sharing.scm +++ b/gnu/services/file-sharing.scm @@ -746,6 +746,7 @@ produces a Transmission settings file (@file{settings.json}) matching CONFIG." (define (transmission-daemon-activation config) "Return the Transmission Daemon activation GEXP for CONFIG." (let ((config-dir %transmission-daemon-configuration-directory) + (download-dir (transmission-daemon-configuration-download-dir config)) (incomplete-dir-enabled (transmission-daemon-configuration-incomplete-dir-enabled? config)) (incomplete-dir @@ -769,7 +770,8 @@ produces a Transmission settings file (@file{settings.json}) matching CONFIG." (for-each (lambda (directory-specification) (apply mkdir-p/perms directory-specification)) '(#$@(append - `((,config-dir #o750)) + `((,config-dir #o750) + (,download-dir #o755)) (if incomplete-dir-enabled `((,incomplete-dir #o750)) '()) -- 2.32.0