[opencms-dev] Access denied to resource or the resource must be visible for all.
li xuetao
lxuetao at hotmail.com
Thu Aug 21 11:40:02 CEST 2003
hi all,
The Vision of my OpenCMS is v5.0.0, I'm using it with IE 5.5 and WindowsNT.
I create a directory and a file /testArea/testPage01.html
At first, I set the permission for both the directory and the file to
rwvrwvrwv-
After I publish the "Offline" project, here is the output message with an
"Access denied Exception":
------------message Begin--------------------
Publishing project ...
Publishing /testArea/testPage01.html
Publishing /testArea/index.jsp
Publishing /system/bodies/testArea/testPage01.html
Static export, number of starting links is: 3
Exporting /testArea/testPage01.html
Exception com.opencms.core.CmsException: 31 Access denied to resource.
Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/testArea/testPage01.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:3297)
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.workplace.CmsAdminPublishProjectThread.run(CmsAdminPublishProjectThread.java:65)
Skipping /testArea/index.jsp
Skipping /system/bodies/testArea/testPage01.html
... static export finished
Checking filesystem links ...
.. filesystem link check finished
... the project has been published
----------message end-------------------------------
the error message will not apear, if we set the permission of
testPage01.html to readable for all ( rwvrwvrwv- ), the problem is:
how can I publish a page only for a pre-defined user or group without the
error message?
Thanks all for your help.
Regards,
xuetao
_________________________________________________________________
Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder
einfach ausdrucken: http://photos.msn.de/support/worldwide.aspx
More information about the opencms-dev
mailing list