Hi, Marcus Schopen wrote:
Problem: when connecting via FTP as user test to folder "/test", it's impossible to to download these HTMLDocuments. FTP Client says "unauthorized". Upload is fine. Giving user "test" the role "Manager" everything works fine. That's strange, because role "lehstuhle" has all rights like a manager !!!
Problem seems to be the default rights a HTMLDocument instance is created with. zope@debian:~$ ftp localhost 8821 (as user test) ... ftp> ls 200 PORT command successful. 150 Opening ASCII mode data connection for file list d--------- 1 Zope Zope 0 Mar 23 17:39 .. ---------- 1 admin Zope 0 Mar 23 17:39 acl_users --w--w---- 1 test Zope 10 Mar 23 17:50 x.html <- HTMLDocument -rw-rw---- 1 test Zope 10 Mar 23 17:51 xxx <- DTMLDocument "x.html" is a HTMLDocument instance created as user test on Zope's managment screen. It has no rights to read by anyone?! "xxx" is just a textfile (DTML Document), which gets the correct rigths when uploading with ftp client. Question is now: what to do in HTMLDocument product to set the default rights to -rw-rw---- (660)? Bye & thanks Marcus -- Petition for a Software Patent Free Europe http://petition.eurolinux.org