I have a Fedora FTP server that uses VSFTPD. I wanted to know how I could allow the users to upload directories and make directories.
Thanks in advance.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Check your SELINUX settings. VSFTPD will allow this, it is probably SELINUX blocking this.
Here is a working config from RHEL5.
It will chroot users into their home directory and allow file/folder creation assuming they can authenticate by methods enabled in the systems pam configuration.
anonymous_enable=NO local_enable=YES write_enable=YES local_umask=0072 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES listen=YES pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES ascii_upload_enable=YES ascii_download_enable=YES ftpd_banner=FTP server ls_recurse_enable=YES chroot_local_user=YES pasv_min_port=30000 pasv_max_port=60000 force_dot_files=YES use_localtime=YES
With the above config you can then use /etc/hosts.allow to lock down vsftpd to certain remote users or allow ALL to connect.