Re: How to get vsftpd working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 16, 2009 at 1:38 PM, Paolo Galtieri<pgaltieri@xxxxxxxxx> wrote:
> I've been trying to get vsftpd working but have had no luck so far.  This is
> my config:
>
> anonymous_enable=NO
> local_enable=YES
> write_enable=YES
> local_umask=022
> dirmessage_enable=YES
> xferlog_enable=YES
> connect_from_port_20=YES
> xferlog_file=/var/log/vsftpd.log
> xferlog_std_format=YES
> ascii_upload_enable=YES
> ascii_download_enable=YES
> ftpd_banner=Welcome to Darkstar FTP service.
> listen=YES
>
> pam_service_name=vsftpd
> userlist_enable=YES
> tcp_wrappers=YES
> pasv_max_port=1024
> no_anon_password=YES
>
> I am able to connect from my client system to the server.  I login as user
> pgaltieri, am prompted for password, and when I enter it I am logged in.
> However, once this happens I can't do anything.  If I try to put a file I
> get:
>
> ftp> put SPAM
> local: SPAM remote: SPAM
> 227 Entering Passive Mode (10,0,0,70,31,17).
> 553 Could not create file.
>
> If I try to list the directory:
>
> ftp> dir
> 227 Entering Passive Mode (10,0,0,70,211,221).
> 150 Here comes the directory listing.
> 226 Transfer done (but failed to open directory).
> ftp>
>
> The directory ownership on the server is:
>
> [pgaltieri@darkstar ~]$ /bin/ls -ld /home/pgaltieri
> drwxr-xr-x. 38 pgaltieri pgaltieri 4096 2009-07-16 10:40 /home/pgaltieri
>
> I changed this from the default 700 wondering if this might be the cause but
> it made no difference.
>
> I'm sure I'm doing something stupid, but I don't remember it being this hard
> to set up.
>
> I'm also logged in as the same user on the client system.  The directory
> permissions on the client are 700
>
> [pgaltieri@peglaptop10 ~]$ /bin/ls -ld ~pgaltieri
> drwx------. 62 pgaltieri pgaltieri 4096 2009-07-16 11:34 /home/pgaltieri
>
> I tried it with 755 but it still fails.
>
> I would appreciate any help from someone who can tell me what I'm missing.
> It seems to be a permissions issue on the server, but I don't know what it
> could be.  I'm not getting any selinux alerts.
>
> Thanks
> Paolo


Check your logs

/var/log/messages
/var/log/secure
/var/log/vsftpd.log



-- 
Fedora 10
(www.pembo13.com)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux