Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2 Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above) Well I Will Be Waiting your Answer thanks For Your Help Sincerly Manuel Alejandro Peña Sànchez
This refers to the user in Zope and has nothing to do with the file system. You must go into acl_users create a new user, then close your browser an log back in again as that user. The superuser is kind of an "emergency access only" user. I think we need an FAQ on this question, isn't there one around? -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Padrino" <mpena@mpsnet.com.mx> To: <zope@zope.org> Sent: Monday, November 13, 2000 11:23 AM Subject: [Zope] help
Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me
Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser
Troubleshooting Suggestions
The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML source for this page.
If the error persists please contact the site maintainer. Thank you for your patience.
Traceback (innermost last): File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above)
Well I Will Be Waiting your Answer thanks For Your Help
Sincerly Manuel Alejandro Peña Sànchez
_______________________________________________ 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 )
BTW: Im not a Unix guru but I dont think having everythin 777 is the most secure way of maintaining your installation... -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Andy McKay" <andym@ActiveState.com> To: "Padrino" <mpena@mpsnet.com.mx>; <zope@zope.org> Sent: Monday, November 13, 2000 11:37 AM Subject: Re: [Zope] help
This refers to the user in Zope and has nothing to do with the file system. You must go into acl_users create a new user, then close your browser an log back in again as that user. The superuser is kind of an "emergency access only" user.
I think we need an FAQ on this question, isn't there one around? -- Andy McKay, Developer. ActiveState.
----- Original Message ----- From: "Padrino" <mpena@mpsnet.com.mx> To: <zope@zope.org> Sent: Monday, November 13, 2000 11:23 AM Subject: [Zope] help
Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me
Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser
Troubleshooting Suggestions
The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML source for this page.
If the error persists please contact the site maintainer. Thank you for your patience.
Traceback (innermost last): File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above)
Well I Will Be Waiting your Answer thanks For Your Help
Sincerly Manuel Alejandro Peña Sànchez
_______________________________________________ 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 )
_______________________________________________ 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 )
Andy McKay wrote:
BTW: Im not a Unix guru but I dont think having everythin 777 is the most secure way of maintaining your installation...
-- Andy McKay, Developer. ActiveState.
Hi Andy, actually, if you are talking about permissions, this setting gives anyone in the world read write and execution access to your document(s)/directory(ies). I think you want to set permissions as 755, with owner and group set to nobody (at least for the /opt/zope directory and sub-directories. (allows only owner write access) : ) ciao! greg.
Hi Andy, actually, if you are talking about permissions, this setting gives anyone in the world read write and execution access to your document(s)/directory(ies). I think you want to set permissions as 755, with owner and group set to nobody (at least for the /opt/zope directory and sub-directories. (allows only owner write access) : )
Thats what I thought ugghhh...
On Tue, 14 Nov 2000, Gregory Haley wrote:
Andy McKay wrote:
BTW: Im not a Unix guru but I dont think having everythin 777 is the most secure way of maintaining your installation...
-- Andy McKay, Developer. ActiveState.
Hi Andy, actually, if you are talking about permissions, this setting gives anyone in the world read write and execution access to your document(s)/directory(ies). I think you want to set permissions as 755, with owner and group set to nobody (at least for the /opt/zope directory and sub-directories. (allows only owner write access) : )
Yes, I know we've wandered somewhat off topic, but hey... just this once.. (o8 Greg, Having all your dtml, html, py, pyc, doc and other files executable just doesn't make sense! In fact, if you make everything 440 except for in /var, where you make it 640, and owned by a "zope" user, this is the safest. Of course, it DOES mean you have to explicitly chmod any file you want to edit...so if you're not THAT paranoid, you could use 640 everywhere... If you put all the files in a zope group, then you can set the permissions 660, so only people in the Zope group can edit the files.
ciao! greg.
Have a better one, Curtis Maloney. P.S. sorry for rambling... i've just got into work, and not had my first coffee yet.. (o8
From: padrino@zope.org [mailto:padrino@zope.org]On Behalf Of Padrino
Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser
This is a Zope security feature that is confusing the first time you meet it. the Zope super user cannot own objects in Zope. Just add a new user in acl_user in your Zope root and give that user Manger rights. Then you can do what you expect. Regards Max M Btw. You should probably use a more descriptive subject in your e-mails. It was by coincidence that I opened it. "Help" isn't terribly descriptive and time is short.
participants (5)
-
Andy McKay -
Curtis Maloney -
Gregory Haley -
Max M -
Padrino