On Wed, 29 Oct 2008, lau wrote:

> Hi everyone,
>
> I've been trying to set up a ftp server using vsftpd. I would like to create
> two accounts, namely ftpmovies and ftpmusic pointing respectively to
> /home/lau/movies and /home/lau/music.
> According to my /etc/passwd file, those accounts are like this:
>   ftpmusic:x:1001:1001:,,,:/home/lau/music/:/bin/bash
>   ftpmovies:x:1002:1002:,,,:/home/lau/movies/:/bin/bash
>
> Here is my vsftpd.conf:
>
> anonymous_enable=YES
> local_enable=YES
> write_enable=NO
> local_umask=022
> #anon_upload_enable=YES
> dirmessage_enable=YES
> xferlog_enable=YES
> connect_from_port_20=NO
> xferlog_std_format=YES
> ftpd_banner=KIKOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> chroot_local_user=YES
> chroot_list_enable=NO
> chroot_list_file=/etc/vsftpd.chroot_list
> listen=YES
> tcp_wrappers=YES
> no_anon_password=YES
> listen=YES
> anon_root=/home/lau
>
> So to start with, i know that the chroot_local_user parameter is not relevant
> here, since changing it to NO doesn't solve the problem. However,
>
> usermod -d /home/ftpmovies ftpmovies
>

So, I'm unclear here, above you show the home dir for ftpmovies being in
/home/lau/movies/ and here you change it to /home/ftpmovies.  Does
/home/ftpmovies exist and have the proper permissions set for ftpmovies?


Jeff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to