How can I prevent local users from uploading files in vsftpd? I know I can prevent them from downloading files by setting the string
download_enable in vsftpd.conf on "NO", is there an option for uploading files too?
It's disabled by default. In fact, getting vsftpd to allow upload is rather tricky.
For example: Allow anonymous upload for Vsftpd?
To disable it you could do any of the following:
- Permissions on "incoming" set to disallow writes
Find "write_enable=" in vsftpd.conf
Set it to "NO", so it should look like this: write_enable=NO
Now restart vsftpd using this command: service vsftpd restart