• Re: VSFTPD fails to upload files

    From Fred@21:1/5 to Timothy M Butterworth on Sat Apr 12 03:00:01 2025
    On 4/11/25 16:21, Timothy M Butterworth wrote:
    All,

    When I try to upload a file to my VSFTPD server I receive the following
    error messages.

    Status: Starting upload of /srv/tftp/c2950-i6k2l2q4-mz.121-22.EA13.bin Command: PASV
    Response: 227 Entering Passive Mode (127,0,0,1,250,228).
    Command: STOR c2950-i6k2l2q4-mz.121-22.EA13.bin
    Response: 550 Permission denied.
    Error: Critical file transfer error

    I am a member of the FTP Group:
    tmb@debian-hp:~$ groups
    tmb cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner ftp

    I tried uploading the following directories:
    /var/run/vsftpd/empty
    /srv/ftp

    I checked permissions and the directories have write permission on the
    FTP Group.
    drwxrwxr-x 2 root   ftp     4096 Apr 11 17:53 ftp
    drwxrwxr-x 2 root root 40 Apr 11 18:19 empty

    Does anyone have any ideas why VSFTPD can not receive uploads. I am able
    to successfully download files.

    Thanks

    Tim

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

    There is a config file for vsftp.

    /etc/vsftpd.conf

    As I recall you have to enable something in the config file.

    Best regards,
    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)