[opencms-dev] File permissions on static export

Attilio Salaris asalaris at consulmedia.it
Thu Sep 8 10:18:15 CEST 2016


Hi,

I resolved my problem.
I configured my Apache Virtual Host using this directive:

<Directory "folderpath">
    Order Allow,Deny
    Allow from All
    Require all granted
</Directory>

Now when i republish a resource on Opencms the error 403 not appear.

Thank you.
Attilio

2016-09-08 9:46 GMT+02:00 Christoph Kukulies <kuku at physik.rwth-aachen.de>:

> What OS?
>
> What is the owner of the files? What owner are tomcat/apache2 running
> under?
>
>
> Am 07.09.2016 um 12:02 schrieb Attilio Salaris:
>
> 1.       Try running tomcat as a service.
> Done
>
> 2.       Try setting default permissions for new files and folders.
> Done
>
> but apache always return error 403 on the republished resources.
>
> 2016-09-07 10:33 GMT+02:00 <Honey.Bhandari at cognizant.com>:
>
>> 1.       Try running tomcat as a service.
>>
>> 2.       Try setting default permissions for new files and folders.
>>
>>
>>
>> Regards
>>
>> Honey
>>
>>
>>
>> *From:* opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at op
>> encms.org] *On Behalf Of *Attilio Salaris
>> *Sent:* Wednesday, September 07, 2016 1:52 PM
>> *To:* The OpenCms mailing list <opencms-dev at opencms.org>
>> *Subject:* Re: [opencms-dev] File permissions on static export
>>
>>
>>
>> Thank you Honey for your fast reply.
>>
>> 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.
>>
>>
>>
>> Attilio
>>
>>
>>
>> 2016-09-07 10:12 GMT+02:00 <Honey.Bhandari at cognizant.com>:
>>
>> Permission issue – do chmod –R 755 <folder-name> to fix the issue.
>>
>>
>>
>> Regards
>>
>> Honey
>>
>>
>>
>> *From:* opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at op
>> encms.org] *On Behalf Of *Attilio Salaris
>> *Sent:* Wednesday, September 07, 2016 1:38 PM
>> *To:* opencms-dev at opencms.org
>> *Subject:* [opencms-dev] File permissions on static export
>>
>>
>>
>> Hi,
>>
>>
>>
>> I'm using Opencms 9.5.3 on Tomcat 8 and Apache 2.2. I'm configured the
>> file* opencms-importexport.xml *with CmsOnDemandStaticExportHandler
>> class on <staticexporthandler> node.
>>
>> 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.
>>
>> This error disappear when I delete the entire export folder.
>>
>> Any ideas to resolve this problem?
>>
>>
>>
>> Thank you.
>>
>> Attilio
>>
>>
>>
>> --
>>
>> *Attilio Salaris - ConsulMedia Srl*
>> Via Mattei 72 - 09170 Oristano (OR) - ITALY
>> tel +39 0783 71405 <%2B39%200783%2071405>; fax +39 0783 301727
>> e-mail: asalaris at consulmedia.it <alasi at consulmedia.it> -
>> http://www.consulmedia.it
>>
>> 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.
>>
>>
>>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>


-- 

*Attilio Salaris - ConsulMedia Srl*
Via Mattei 72 - 09170 Oristano (OR) - ITALY
tel +39 0783 71405; fax +39 0783 301727
e-mail: asalaris at consulmedia.it <alasi at consulmedia.it> -
http://www.consulmedia.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160908/ee3893eb/attachment.htm>


More information about the opencms-dev mailing list