[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: atftpd permission denied





On Fri, Apr 11, 2025 at 11:30 AM Michael Stone <mstone@debian.org> wrote:
On Thu, Apr 10, 2025 at 06:11:31PM -0400, Timothy M Butterworth wrote:
>I am having problems writing to atftpd. I keep getting a permission denied
>error.

It sounds like you've worked around this, but I'll note for future
searchers that the reason for this is that atftpd is configured with
DynamicUser=yes. One effect of this is that the process cannot write to
any file. If you want the ability to upload via atftpd you'd need to
   systemctl edit atftpd.service
and add
   [Service]
   DynamicUser=no
Note that this will cause atftpd to run as root, and you'd almost
certainly want to also create a tftpd user and add User= and
Group= lines.

This works now I can upload files using atftpd. Thanks so much!

Tim

--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply to: