<div dir="ltr"><p style="font-size:12.8px"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)">1.<span style="font-stretch:normal;font-size:7pt;font-family:"times new roman""> </span></span><u></u><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)">Try running tomcat as a service.<u></u><u></u></span></p>Done<p style="font-size:12.8px"><u></u><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)">2.<span style="font-stretch:normal;font-size:7pt;font-family:"times new roman""> </span></span><u></u><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(31,73,125)">Try setting default permissions for new files and folders.</span></p>Done<div><br></div><div>but apache always return error 403 on the republished resources.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-07 10:33 GMT+02:00 <span dir="ltr"><<a href="mailto:Honey.Bhandari@cognizant.com" target="_blank">Honey.Bhandari@cognizant.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Try running tomcat as a service.<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Try setting default permissions for new files and folders.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Honey<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.<wbr>org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@<wbr>opencms.org</a>]
<b>On Behalf Of </b>Attilio Salaris<br>
<b>Sent:</b> Wednesday, September 07, 2016 1:52 PM<br>
<b>To:</b> The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a>><br>
<b>Subject:</b> Re: [opencms-dev] File permissions on static export<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Thank you Honey for your fast reply.<u></u><u></u></p>
</div>
<p class="MsoNormal">I've already changed the file's permission manually but when I changed a resources and I republish the permissions of this file changed in 640.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Attilio<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2016-09-07 10:12 GMT+02:00 <<a href="mailto:Honey.Bhandari@cognizant.com" target="_blank">Honey.Bhandari@cognizant.com</a>><wbr>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Permission issue – do chmod –R 755 <folder-name> to fix the issue.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Honey</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.<wbr>org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@<wbr>opencms.org</a>]
<b>On Behalf Of </b>Attilio Salaris<br>
<b>Sent:</b> Wednesday, September 07, 2016 1:38 PM<br>
<b>To:</b> <a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>
<b>Subject:</b> [opencms-dev] File permissions on static export</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm using Opencms 9.5.3 on Tomcat 8 and Apache 2.2. I'm configured the file<b> opencms-importexport.xml
</b>with <wbr>CmsOnDemandStaticExportHandler class on <staticexporthandler> node.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">When I republish an existing resource, the permessions on filesystem changed from 755 to 640 and Apache return Permission Denied for the resource republished, so the resource is
not visible on the online website.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">This error disappear when I delete the entire export folder.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas to resolve this problem?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Attilio<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">--
<u></u><u></u></p>
<div>
<p><strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Attilio Salaris - ConsulMedia Srl</span></strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
Via Mattei 72 - 09170 Oristano (OR) - ITALY<br>
tel <a href="tel:%2B39%200783%2071405" target="_blank">+39 0783 71405</a>; fax <a href="tel:%2B39%200783%20301727" target="_blank">
+39 0783 301727</a> <br>
e-mail: </span><a href="mailto:alasi@consulmedia.it" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">asalaris@consulmedia.it</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> -
</span><a href="http://www.consulmedia.it/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">http://www.consulmedia.it</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif">
</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all
copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted
by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p><strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Attilio Salaris - ConsulMedia Srl</span></strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
Via Mattei 72 - 09170 Oristano (OR) - ITALY<br>
tel <a href="tel:%2B39%200783%2071405" value="+39078371405" target="_blank">+39 0783 71405</a>; fax <a href="tel:%2B39%200783%20301727" value="+390783301727" target="_blank">+39 0783 301727</a> <br>
e-mail: </span><a href="mailto:alasi@consulmedia.it" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">asalaris@consulmedia.it</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> -
</span><a href="http://www.consulmedia.it/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">http://www.consulmedia.it</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif">
</span><u></u><u></u></p>
</div>
</div>
</div></div></div><div><div class="h5">
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original
message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law,
this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
</div></div></div>
<br>______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><p><strong><b><font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial">Attilio Salaris - ConsulMedia Srl</span></font></b></strong><font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial"><br>
Via Mattei 72 - 09170 Oristano (OR) - ITALY<br>
tel +39 0783 71405; fax +39 0783 301727 <br>
e-mail: </span></font><a href="mailto:alasi@consulmedia.it" target="_blank"><font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial">asalaris@consulmedia.it</span></font></a><font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial"> - </span></font><a href="http://www.consulmedia.it/" target="_blank"><font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial">http://www.consulmedia.it</span></font></a><font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial"> </span></font></p>
<font face="Arial" size="2"><span style="font-size:10pt;font-family:Arial"></span></font></div>
</div>