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

  • 1
    Do you get permission denied?Without further details it would be difficult to pinpoint the problem.
    – Stef K
    Aug 20 '13 at 21:43
  • Yes Permissions denied
    – user156980
    Aug 21 '13 at 0:24
  • 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

  • 4
    Hi there, I have uncomment write_enable=YES but it doesnt work. It says could not create file
    – Sarz
    Oct 2 '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. Jun 11 '15 at 0:14
  • 1
    It did work for me.
    – Gruber
    Sep 30 '16 at 6: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 7:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.