On Fri, Apr 11, 2025 at 8:36 PM Zube <z...@stat.colostate.edu> 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.
>
> Can't speak to vsftpd on debian in particular, but on the vsftpd I built
> from source on alma8, the vsftpd.conf has the following entries:
>
> # Uncomment this to enable any form of FTP write command.
> #write_enable=YES
>

Thanks, this setting did the trick.


>
> # Uncomment this to allow the anonymous FTP user to upload files. This only
> # has an effect if the above global write enable is activated. Also, you
> will
> # obviously need to create a directory writable by the FTP user.
> #anon_upload_enable=YES
>
> Cheers.
>


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

Reply via email to