<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Content Store filesystem Permissions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259544#M212674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be able to set the permissions such that only the account that runs alfresco and your backup software has access to the content store.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However make sure you don't touch the lucene indexes while Alfresco is running.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Nov 2010 17:07:44 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-11-20T17:07:44Z</dc:date>
    <item>
      <title>Content Store filesystem Permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259543#M212673</link>
      <description>I am concerned about the default world-readable filesytstem permissions on the contentstore.&amp;nbsp; I have searched the forums and find nothing on this issue.I have installed Alfresco Community 3.3g.&amp;nbsp; It is my first experience with Alfresco.&amp;nbsp; I installed a few weeks ago on Redhat 5 (latest version with up</description>
      <pubDate>Sat, 20 Nov 2010 16:39:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259543#M212673</guid>
      <dc:creator>high</dc:creator>
      <dc:date>2010-11-20T16:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Content Store filesystem Permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259544#M212674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be able to set the permissions such that only the account that runs alfresco and your backup software has access to the content store.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However make sure you don't touch the lucene indexes while Alfresco is running.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Nov 2010 17:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259544#M212674</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-20T17:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Content Store filesystem Permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259545#M212675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mrogers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the prompt reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried as you suggested and, indeed, by stopping tomcat before changing the permissions, then restarting tomcat, I was able to get alfreso to run properly after resetting permissions with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /var/lib/alfresco/alf_data/contentstore&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;chmod -R go-rwx *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Howewer, when I uploaded a file through alfresco so that the file would make its way into the contentstore, I checked permissions again and that new file had the same open permissions as before:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /var/lib/alfresco/alf_data/contentstore&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;find . -type f -not -perm u=rw,g=,o= -exec ls -ld "{}" \;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-rw-r–r– 1 tomcat tomcat 1150 Nov 20 09:21 ./contentstore/2010/11/20/9/21/199dbb03-bda8-40d7-87a3-e148c5f1bde4.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I suppose the only way to address this going forward is with a cron job (shutdown tomcat, reset permissions, startup tomcat)&amp;nbsp; or is there a more elegant alfresco way to do it, say with a (tomcat or lucene?) configuration parameter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Nov 2010 17:31:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259545#M212675</guid>
      <dc:creator>high</dc:creator>
      <dc:date>2010-11-20T17:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Content Store filesystem Permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259546#M212676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found that I must set the umask for tomcat in it's startup script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put this:&amp;nbsp; umask 066&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;near the top of :&amp;nbsp; /usr/sbin/tomcat6&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And restarted tomcat.&amp;nbsp; This fixed the problem.&amp;nbsp; I will have to remember to do this with each upgrade of tomcat.&amp;nbsp; I do not see any configuration parameter in tomcat's configuration file for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;References:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg120526.html" rel="nofollow noopener noreferrer"&gt;http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg120526.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://serverfault.com/questions/152936/how-to-set-default-umask-for-tomcat-webdav-servlet" rel="nofollow noopener noreferrer"&gt;http://serverfault.com/questions/152936/how-to-set-default-umask-for-tomcat-webdav-servlet&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Nov 2010 17:51:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store-filesystem-permissions/m-p/259546#M212676</guid>
      <dc:creator>high</dc:creator>
      <dc:date>2010-11-20T17:51:40Z</dc:date>
    </item>
  </channel>
</rss>

