17

I made a personal FTP server on an old laptop but when I connect I can only read/download no upload. How do I change this? Thanks for the help in advance I am use vsftpd

user156980
  • 171
  • 1
  • 1
  • 3

1 Answers1

21
  • You will have to edit the vsftpd.conf settings file, located at `/etc/ with an editor of you choice, for example:

sudo vim /etc/vsftpd.conf

  • In the settings file look for the line write_enable=YES which will be probably commented out #write_enable=YES, uncomment it removing the # from the front and save the file.

  • Finally restart the vsftpd service using:

sudo service vsftpd restart

Note that:

You will have to provide your password when you use sudo. Also, the service was originally listed in this answer as ftpd which may work on some machines instead of vsftpd

Andrew
  • 103
Stef K
  • 4,836
  • 4
    Hi there, I have uncomment write_enable=YES but it doesnt work. It says could not create file – Sarz Oct 02 '14 at 10:46
  • 1
    This is part of the answer but not enough. I'm having the same issue and this doesn't resolve it. I think you need to create a user on the server and give them permissions but I'm still reading up. Will update if I find the solution. – TenLeftFingers Jun 11 '15 at 00:14
  • 1
    It did work for me. – Gruber Sep 30 '16 at 06:44
  • 1
    I whink write_enable=YES doesn't work for chrootenabled setup. In this case you need to use allow_writeable_chroot=YES which is insecure and undocumented. For the FTP user to have it's own folder with write permission I guess the only way it to use virtual users....I'm still lookiing for a good guide for this myself. – MrCalvin May 16 '19 at 07:53