ftp> mkdir t
550 Permission denied.
ftp>
This is how my vsftp.conf looks:
Code:
anonymous_enable=NO local_enable=YES local_umask=022 dirmessage_enable=YES listen=YES pam_service_name=virtual-ftp userlist_enable=YES userlist_file=/etc/vsftpd.user_list userlist_deny=NO tcp_wrappers=YES write_enable=YES guest_enable=YES guest_username=ftp local_root=/mnt/storage/ftp
All users are mapped to the ftp user. /mnt/storage/ftp is owned by ftp and there are no permission problems (the mount point is /mnt/storage). I use pam for authentication, which seems to be working fine from what I can tell from the logs and the fact that I can log in, of course.
/mnt/storage is a linux partition and it's mounted like this:
/dev/sdb5 /mnt/storage ext4 defaults 0 0
Which is really unimportant, because I tried to use the root partition also, and I get the same problem.
On some site someone suggested allow_writeable_chroot=YES, but this directive is not identified by vsftpd.
I kind of ran out of ideas. Any suggestions?