[Zodb-checkins] SVN: ZODB/branches/patricks-blob-dir-perm/src/ZODB/co grr

Patrick Strawderman cvs-admin at zope.org
Wed Oct 17 20:11:42 UTC 2012


Log message for revision 128036:
  grr
  

Changed:
  U   ZODB/branches/patricks-blob-dir-perm/src/ZODB/component.xml
  U   ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py

-=-
Modified: ZODB/branches/patricks-blob-dir-perm/src/ZODB/component.xml
===================================================================
--- ZODB/branches/patricks-blob-dir-perm/src/ZODB/component.xml	2012-10-17 19:41:39 UTC (rev 128035)
+++ ZODB/branches/patricks-blob-dir-perm/src/ZODB/component.xml	2012-10-17 20:11:37 UTC (rev 128036)
@@ -107,6 +107,13 @@
         Path name to the blob cache directory.
       </description>
     </key>
+    <key name="blob-dir-permissions" required="no" datatype="string">
+      <description>
+        The octal representation of the permissions that should be
+        applied to any sub-directories created in the blob dir,
+        and the blob dir itself on initial creation.
+      </description>
+    </key>
     <key name="shared-blob-dir" required="no" default="no"
         datatype="boolean">
       <description>

Modified: ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py
===================================================================
--- ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py	2012-10-17 19:41:39 UTC (rev 128035)
+++ ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py	2012-10-17 20:11:37 UTC (rev 128036)
@@ -212,6 +212,10 @@
         if self.config.client_label is not None:
             options['client_label'] = self.config.client_label
 
+        if self.config.blob_dir_permissions is not None:
+            options["blob_dir_permissions"] = convert_permissions(self)
+
+
         return ClientStorage(
             L,
             blob_dir=self.config.blob_dir,



More information about the Zodb-checkins mailing list