[opencms-dev] Problem with publishing

Hartmann, Waehrisch & Feykes GmbH hartmann at waehrisch-feykes.de
Tue May 4 14:10:03 CEST 2004


When you publish a resource or project the static export is executed automatically (if not disabled). For this OpenCms acts as a spider that requests the resources as guest user (as a normal visitor of your page would do). So this error is good for you, cause if the page would be exported statically it would come out of reach of OpenCms' access management and become accessible for everyone.

  ----- Original Message ----- 
  From: Stefano 
  To: opencms-dev at opencms.org 
  Sent: Tuesday, May 04, 2004 2:00 PM
  Subject: [opencms-dev] Problem with publishing


        [opencms-dev]  Problem with publishing

        Hi, 

        I have created a new project and I have associated it a folder to the inside of which there is single file: index.html.

        I want to publish the plan removing the permissions "r w v" to "Others".

        But I obtain the following error:

        Exception com.opencms.core.CmsException: 31 Access denied to resource. Detailed error: [com.opencms.file.mySql.CmsResourceBroker] /default/vfs/NoviTAS/index.html. 
        at com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBroker.java:5365)
        at com.opencms.file.genericSql.CmsResourceBroker.readProperty(CmsResourceBroker.java:6117)
        at com.opencms.file.CmsObject.readProperty(CmsObject.java:3302)
        at com.opencms.util.Utils.isHttpsResource(Utils.java:368)
        at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:259)
        at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
        at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
        at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)
        at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)
        at com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4659)
        at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1523)
        at com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)
        at com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)
        at com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.java:61)






        WHY?!?

        Thanks of the aid!!
       
               
       
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040504/e75f0ef1/attachment.htm>


More information about the opencms-dev mailing list