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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content