<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR><!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>3.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
<STYLE></STYLE>
</HEAD>
<BODY
style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial"
bgColor=#ffffff background="" scroll=yes X-FVER="3.0" ORGYPOS="0">
<DIV><FONT size=2>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.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=stefonta75@hotmail.com
href="mailto:stefonta75@hotmail.com">Stefano</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 04, 2004 2:00 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Problem with
publishing</DIV>
<DIV><BR></DIV>
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%"
border=0><TBODY>
<TR>
<TD id=INCREDITEXTREGION
style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV>[opencms-dev] Problem with publishing</DIV>
<DIV> </DIV>
<DIV>
<P>Hi, </P><FONT color=#000080>
<P></FONT>I have created a new project and I have associated it a folder
to the inside of which there is single file: index.html.<FONT
color=#000080></P></FONT>
<P>I want to publish the plan removing the <FONT
face="Times New Roman">permissions </FONT>"r w v" to "<FONT
face="Times New Roman">Others"…</FONT><FONT face="Times New Roman"
color=#000080></P>
<P></FONT><FONT face="Times New Roman">But I obtain the following
error:</FONT></P>
<P><FONT face="Times New Roman"><SPAN style="COLOR: #990000"><FONT
face=Arial>Exception com.opencms.core.CmsException: 31 Access denied to
resource. Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/NoviTAS/index.html. <BR>at
com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBroker.java:5365)<BR>at
com.opencms.file.genericSql.CmsResourceBroker.readProperty(CmsResourceBroker.java:6117)<BR>at
com.opencms.file.CmsObject.readProperty(CmsObject.java:3302)<BR>at
com.opencms.util.Utils.isHttpsResource(Utils.java:368)<BR>at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:259)<BR>at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<BR>at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<BR>at
com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)<BR>at
com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)<BR>at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4659)<BR>at
com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1523)<BR>at
com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)<BR>at
com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)<BR>at
com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.java:61)</FONT><BR></SPAN></FONT></P>
<P><FONT face="Times New Roman"></FONT> </P>
<P><FONT face="Times New Roman"></FONT><FONT face="Times New Roman"
color=#000080> </P></FONT><FONT face="Times New Roman"></FONT><FONT
face="Times New Roman" color=#000080>
<P></FONT><FONT face="Times New Roman">WHY?!?</FONT><FONT
face="Times New Roman" color=#000080></P>
<P></FONT><FONT face="Times New Roman">Thanks of the aid!!</FONT><FONT
face="Times New Roman" color=#000080></P></FONT></DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom
align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>