locale roles don't work with HTMLDocument procucts
Hi, I have problems with HTMLDocument (both products) on on Zope 2.5.0 (woody debian). Installed the HTMLDocument product (http://www.zope.org/Members/sf/HTMLDocument). After that I created a local role "lehstuhl", which has for testing purpos same rights as a manager (I just selected all). Then I created a new folder "/test" with an user "test". User "test" is set to local roles "lehrstuhl". As user "test" I created some HTMLDocuments in the /test folder using Zope's managment screen. 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 !!! I get a similar behaviour with the other HTMLDocument wrapper (http://www.zope.org/Members/unfo/howto_wrapper). Here is download o.k., but upload doesn't work. Before upgrading to Zope 2.5.0 both products worked without problems with 2.3.3. Any help is welcome !!! Thanks & bye Marcus -- ,---- [ Marcus Schopen ] | (0> | //\ P.O. Box 10 25 25 | V_/_ D-33525 Bielefeld, Germany | `----
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
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 !!!
add 'manage_FTPget' to __ac_permissions__ to give non-manager users permission to ftp download. This error steps only with HTMLProduct http://www.zope.org/Members/sf/HTMLDocument (not the other one). -- ,---- [ Marcus Schopen ] | (0> | //\ P.O. Box 10 25 25 | V_/_ D-33525 Bielefeld, Germany | `---- __________________________________________________ Petition for a Software Patent Free Europe http://petition.eurolinux.org
participants (1)
-
Marcus Schopen