How do I configure vsftpd to set permissions on anonymous uploads?

Updated -

Using the vsftp service provided by the configuration file below, all anonymously uploaded files end up owned by ftpadmin with read/write permission for the owner only.

Sample /etc/vsftpd/vsftpd.conf

### General ###
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
ls_recurse_enable=YES
tcp_wrappers=YES
xferlog_enable=YES
dirmessage_enable=Y...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.