GNU bug report logs - #49601
[PATCH] services: transmission: Create downloads directory.

Previous Next

Package: guix-patches;

Reported by: Morgan.J.Smith <at> outlook.com

Date: Sat, 17 Jul 2021 00:35:01 UTC

Severity: normal

Tags: patch

Full log


Message #8 received at 49601 <at> debbugs.gnu.org (full text, mbox):

From: Simon South <simon <at> simonsouth.net>
To: Morgan.J.Smith <at> outlook.com
Cc: 49601 <at> debbugs.gnu.org
Subject: Re: [bug#49601] [PATCH] services: transmission: Create downloads
 directory.
Date: Sat, 17 Jul 2021 07:52:21 -0400
Morgan.J.Smith <at> 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.

Morgan,

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.

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:

> +                              (,download-dir #o755))

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.

-- 
Simon South
simon <at> simonsouth.net




This bug report was last modified 3 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.