I had managed to set up an ftp server on my laptop running OpenSuse 11.1, runnning behind a router. Even got it working, with a chroot jail for users and all.
I fiddled with something (permissions–I was trying to make the files in the ftp users folders visible to me outside of su through dolphin). That messed things up, so I redid all the users, and redid the entire ftp configuration, using (as far as I know), the exact same steps as before, and I can no longer get the ftp server to work–I keep getting the 500 error, and it doesn’t seem to go away, no matter what I try.
Herewith my vsftpd.conf:
ftpd_banner=Sawubona, hujambo, ola, goeie dag
For my user1 (1002), I have set this user up in Yast - user and group management to be a member of the group
with a home directory of home/ftp/user1
I have checked in /etc/passwd
and with ls -l /home/ftp:
drwxr-xr-x 2 user1 ftp-users 4096 2010-02-11 22:40 user1
to make sure that the ownership for this directory match, which they do.
I thought that the problem could have been that I had tried to set up the ftp location away from /srv/ftp/, but when I set it up again back here, where I set up a /user1 sub-folder (as well as a /user2 folder), I was still getting the same problem.
I am not sure what else to do now, except maybe to kill the users and restart with everything.
Any help with this would be much appreciated.