AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Problem with FTP, FTP GUI Client does not see Files or Directories

  • 1.  Problem with FTP, FTP GUI Client does not see Files or Directories

    Posted Wed November 26, 2008 10:32 AM

    Originally posted by: wallewallo


    I am using AIX 5.3 TL8 SP2.

    On this Machine I run the AIX ftpd daemon, so a user can upload files.
    I use the /etc/ftpaccess.ctl file (puseronly) to restrict the user from
    browsing the machine. So if I test it from another AIX or a DOS Box
    everything works fine, except if I do a "ls -la" I don't get a proper
    response ("ls" works fine"):

    ftp> ls -la
    200 PORT command successful.
    150 Opening data connection for /bin/ls.
    226 Transfer complete.

    and I get following syslog entry:

    daemon:info ftpd3465222: syslog: fopen on /dev/null failed, errno 13
    I also tested several GUI Clients (Filezilla/WS-FTP/...) and there I
    don't see any Files or Directories. But I am able to upload Files,
    which I also never see on the Server side. When telnet to the server
    all the uploaded Files are there.

    So I guess the GUI FTPs use "ls -la" to show Files on the server,
    but as long as it doesn't work, they show nothing. So does anyone
    know how I make it work properly?
    Thanks.

    PS: WS-FTP shows following error if it tries to show the files uploaded:

    550 %s: No such file or directory
    #AIX-Forum


  • 2.  Re: Problem with FTP, FTP GUI Client does not see Files or Directories

    Posted Wed November 26, 2008 05:12 PM

    Originally posted by: jnordtome


    It appears that the puseronly "lockdown" prevents the system from listing any information that is deemed a security risk such as user names or group names.
    #AIX-Forum