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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux