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
Asked
Active
Viewed 6.1k times
17
-
1Do 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 00:24
1 Answers
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
-
4Hi there, I have uncomment write_enable=YES but it doesnt work. It says could not create file – Sarz Oct 02 '14 at 10:46
-
1This 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
-
1I whink
write_enable=YES
doesn't work forchroot
enabled setup. In this case you need to useallow_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