Hello, there seems to be a problem with FTP in Zope 2.3.0 (on Linux Redhat 6.0). I can list the contents of the root dir (however the Zope console shows an error "PROBLEM(100) ZServer unhandled connect event"). If I want to change to certain subdirs I get "550 No such directory", if I try to list their contents the error message is "550 Could not list directory". These subdirs are just regular Folders but one of them contains custom ZClass instances while the other contains DTML Documents/Methods, Images, External Methods, a User DB, a Catalog, a MailHost and a MySQL DB Conn and a LocalFS (already patched) so i guess it _should_ be listable, right? Of course both Folders are listable in the HTML management interface. Other Folders in the root dir are listable too. Any idea what's wrong or how to debug the problem? Thanks --Oliver
Oliver Frommel wrote:
there seems to be a problem with FTP in Zope 2.3.0 (on Linux Redhat 6.0). I can list the contents of the root dir (however the Zope console shows an error "PROBLEM(100) ZServer unhandled connect event").
Yeah, what _do_ those mean? I've seen loads of them even when FTP is working fine, and it's kidna worrying :-S cheers, Chris
answering my own mail for further investigation .. :)
there seems to be a problem with FTP in Zope 2.3.0 (on Linux Redhat 6.0). I can list the contents of the root dir (however the Zope console shows an error "PROBLEM(100) ZServer unhandled connect event"). If I want to change to certain subdirs I get "550 No such directory", if I try to list their contents the error message is "550 Could not list directory". These subdirs are just regular Folders but one of them contains custom ZClass instances while the other contains DTML Documents/Methods, Images, External Methods, a User DB, a Catalog, a MailHost and a MySQL DB Conn and a LocalFS (already patched) so i guess it _should_ be listable, right? Of course both Folders are listable in the HTML management interface. Other Folders in the root dir are listable too.
I found the problem - it is the UserDB which doesn't seem to support FTP. On the other hand, I log in to the site root as 'manager', a user having the Manager role, defined in the root User folder. The UserDB in the subdir doesn't have a 'manager' user. Isn't authentication supposed to acquire from the parent then?? thanks --Oliver
On Friday 16 February 2001 17:34, Oliver Frommel wrote: i use UserDB, and has no problem ftping, changing, and do other stuff. although i logged in as a user with manager role.
answering my own mail for further investigation .. :)
there seems to be a problem with FTP in Zope 2.3.0 (on Linux Redhat 6.0). I can list the contents of the root dir (however the Zope console shows an error "PROBLEM(100) ZServer unhandled connect event"). If I want to change to certain subdirs I get "550 No such directory", if I try to list their contents the error message is "550 Could not list directory". These subdirs are just regular Folders but one of them contains custom ZClass instances while the other contains DTML Documents/Methods, Images, External Methods, a User DB, a Catalog, a MailHost and a MySQL DB Conn and a LocalFS (already patched) so i guess it _should_ be listable, right? Of course both Folders are listable in the HTML management interface. Other Folders in the root dir are listable too.
I found the problem - it is the UserDB which doesn't seem to support FTP. On the other hand, I log in to the site root as 'manager', a user having the Manager role, defined in the root User folder. The UserDB in the subdir doesn't have a 'manager' user. Isn't authentication supposed to acquire from the parent then??
thanks --Oliver
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it!
I found the problem - it is the UserDB which doesn't seem to support FTP. On the other hand, I log in to the site root as 'manager', a user having the Manager role, defined in the root User folder. The UserDB in the subdir doesn't have a 'manager' user. Isn't authentication supposed to acquire from the parent then??
I'll go on makeing this nice conversation with myself and a complete fool out of me. Finally I found some more documentation in ZServer/FTPServer.py: " FTP access is controlled by one permission: 'FTP access' if bound to a role, users of that role will be able to list directories, and cd to them. Creating and deleting and changing objects are all governed by existing Zope permissions. " now this turned out to be true to the extent that I was able to log in and list the directories in question (also the ones containing a UserDB) with the emergency user login. However my "manager" user has the same Manager role as the emergency user has which itself is mapped to the FTP access permission. So the question is why "admin" can do what "manager" can't even when both have the same role .. --Oliver
participants (3)
-
Bak@kedai -
Chris Withers -
Oliver Frommel