Hi: I am a novice Zope user--my web master left my company and I have been pegged with the responsibility of maintaining our internal website. I am having a problem adding a new folder and then adding a file to the folder. The file is located on another server with appropriate permissions. However, this is the error message I get: Zope Error Zope has encountered an error while publishing this resource. Resource not found Sorry, the requested Zope resource does not exist. Check the URL and try again. 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. Can you please direct me on what to do to correct this problem? Thanks. Tina ------------------------------------------------------- TRADING TECHNOLOGIES Internal Operations Tina Marie Cherry-Goyne Global Manager of Internal Operations tina.goyne@tradingtechnologies.com Internal Operations +1 847.424.8844 ---------------------------------------------------------
It would be a good idea to change the user/group that owns any file in the Zope tree to nobody.nobody before packaging the product (src and linux packages) instead of delivering with user 509. When this user number is already used, and someone is testing Zope as a simple user (not root) the user can loose the control of the files when unpack the package. Anyway, it's a simple task and will take almost no time from you. Thanks in advance, Alexandre A. Drummond Barroso IT Software Engineer Intelligenesis Corporation
this is also what I am talking about! ----- Original Message ----- From: Alexandre A. Drummond Barroso <alexandre@intelligenesis.net> To: <zope-dev@zope.org> Sent: Tuesday, July 11, 2000 7:59 PM Subject: [Zope-dev] Zope 2.1.6 packages
It would be a good idea to change the user/group that owns any file in the Zope tree to nobody.nobody before packaging the product (src and linux packages) instead of delivering with user 509. When this user number is already used, and someone is testing Zope as a simple user (not root) the user can loose the control of the files when unpack the package. Anyway, it's a simple task and will take almost no time from you.
Thanks in advance,
Alexandre A. Drummond Barroso IT Software Engineer Intelligenesis Corporation
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
One way to deal with this (as with any tarball) is to not preserve ownership on an untar. As I mentioned before, if the user you untar as is the root user, gnutar preserves ownership *by default* (see the --preserve-permissions option to gnutar). On the other hand, if you don't untar as root, file ownership is set to the user who does the untarring for all files in the tarball. The 'nobody' user doesn't exist on all UNIX variants, and for the ones in which it does exist, it does not necessarily have the same UID. As a result, changing the ownership of the files in the source tarball to our 'nobody' UID (built on RH Linux) would be not completely adequate for other UNIX variants and as so is not really a solution. The problem is client-side and is defintely not Zope specific. The solution is to not preserve ownership when untarring the file. This means *don't untar as root*. This goes for all tarred file collections you install (not just Zope). Leonardo Kenji Shikida wrote:
this is also what I am talking about!
----- Original Message ----- From: Alexandre A. Drummond Barroso <alexandre@intelligenesis.net> To: <zope-dev@zope.org> Sent: Tuesday, July 11, 2000 7:59 PM Subject: [Zope-dev] Zope 2.1.6 packages
It would be a good idea to change the user/group that owns any file in the Zope tree to nobody.nobody before packaging the product (src and linux packages) instead of delivering with user 509. When this user number is already used, and someone is testing Zope as a simple user (not root) the user can loose the control of the files when unpack the package. Anyway, it's a simple task and will take almost no time from you.
Thanks in advance,
Alexandre A. Drummond Barroso IT Software Engineer Intelligenesis Corporation
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
"Alexandre A. Drummond Barroso" wrote:
It would be a good idea to change the user/group that owns any file in the Zope tree to nobody.nobody before packaging the product (src and linux packages) instead of delivering with user 509. When this user number is already used, and someone is testing Zope as a simple user (not root) the user can loose the control of the files when unpack the package. Anyway, it's a simple task and will take almost no time from you.
Thanks in advance,
Is nobody always user/group 99 on unix systems in general? -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net
On Wed, Jul 12, 2000 at 11:39:47AM +0100, Steve Alexander wrote:
Is nobody always user/group 99 on unix systems in general?
As Chris pointed out, it's not. It's not on my Debian system. Just untar without preserving the username and group. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | ZopeStudio: http://www.zope.org/Products/ZopeStudio -----------------------------------------------------
participants (6)
-
Alexandre A. Drummond Barroso -
Chris McDonough -
Leonardo Kenji Shikida -
Martijn Pieters -
Steve Alexander -
Tina Goyne (TT)