[opencms-dev] File permissions on static export

Honey.Bhandari at cognizant.com Honey.Bhandari at cognizant.com
Wed Sep 7 10:33:00 CEST 2016


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 opencms.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<mailto: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 opencms.org> [mailto:opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org>] On Behalf Of Attilio Salaris
Sent: Wednesday, September 07, 2016 1:38 PM
To: opencms-dev at opencms.org<mailto: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<tel:%2B39%200783%2071405>; fax +39 0783 301727<tel:%2B39%200783%20301727>
e-mail: asalaris at consulmedia.it<mailto:alasi at consulmedia.it> - http://www.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.

_______________________________________________
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<mailto:alasi at consulmedia.it> - http://www.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160907/fc6cfe18/attachment.htm>


More information about the opencms-dev mailing list