IBM Support

IV36071: FTPD RETURNS 550 ERROR W/LIST FOR FILE NOT FOUND APPLIES TO AIX 6100-09

Fix pending

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The FTP server (ftpd) returns an error "550" for file not
    found when executing the LIST command to query an exact
    filename as follows. The wild card * is not used.
    
    ftp> ls abc
    200 PORT command successful.
    550 abc: A file or directory in the path name does not
    exist
    
    This behavior is not compliant with RFC 959.
    For consistency, this command should return the
    successful
    completion codes and no data files, as follows:
    
    ftp> ls abc
    200 PORT command successful.
    150 Opening data connection for abc.
    226 Transfer complete.
    
    Additional Note:
    The wild card * pattern matching case is working
    correctly:
    
    ftp> ls abc*
    200 PORT command successful.
    150 Opening data connection for abc*
    226 Transfer complete.
    
    Reference RFC 959, p51.
    LIST
       125, 150
          226, 250
          425, 426, 451
       450
       500, 501, 502, 421, 530
    

Local fix

Problem summary

  • When executing NLST FTP sub-command on a non existing
    file/directory in AIX FTP server, the ftp client will
    display 550 as return code.
    
    For eg:
    ftp> ls abc
    200 PORT command successful.
    550 abc: A file or directory in the path name does not exist.
    ftp>
    Return code 550 for NLST cmd is non compliance with rfc 959.
    

Problem conclusion

  • Modified FTP server code to open a data connection and send 150
    or 125 message if data connection succeeds, or 425 message if
    data connection fails. Followed by 150/125 message, send 226
    message when NLST command is run on any non existing
    file/directory.
    

Temporary fix

Comments

  • 6100-09 - use AIX APAR IV36071
    7100-03 - use AIX APAR IV36935
    

APAR Information

  • APAR number

    IV36071

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-01-30

  • Closed date

    2013-02-20

  • Last modified date

    2013-11-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV36935

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U855283

       UP13/11/21 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
26 November 2013