[Zope-dev] AccessControl/User.py:1.89 broke FTP support ?

Jarkko Kniivilä jarkko.kniivila@ambientfactor.fi
Thu, 16 Sep 1999 15:31:22 +0300


Brian,

The CVS version of lib/python/AccessControl/User.py revision 1.89 seems to have broken FTP support! You must have overlooked something with the cache code in 'getRolesInContext'. The previous revision is fine. This is beyond me as I'm just a zope@zope.org lurker :-)

When not working, Z2.log exhibits the following when connecting to ZServer and trying to list the root folder:

127.0.0.1:3111 ==> 220 afo2000 FTP server (Medusa Async V1.6 [experimental]) ready.
127.0.0.1:3111 <== USER afo
127.0.0.1:3111 ==> 331 Password required.
127.0.0.1:3111 <== PASS <password>
127.0.0.1:3111 ==> 230 Login successful.
127.0.0.1:3111 <== CWD /
127.0.0.1:3111 ==> 550 No such directory.
127.0.0.1:3111 <== PWD
127.0.0.1:3111 ==> 257 "/" is the current directory.
127.0.0.1:3111 <== PORT 127,0,0,1,12,40
127.0.0.1:3111 ==> 200 PORT command successful.
127.0.0.1:3111 <== NLST -CF
127.0.0.1:3111 ==> 550 Could not list directory.
127.0.0.1:3111 <== QUIT
127.0.0.1:3111 ==> 221 Goodbye.

I'll report my setup, if you can't reproduce the behaviour in yours.

Sincerely,

    // Jarkko Kniivilä