SVN: ZODB/branches/patricks-blob-dir-perm/src/ZODB/co missed another one
Patrick Strawderman <[email protected]> Wed, 17 Oct 2012 17:26:32 -0400 (EDT)
| Newsgroups | gmane.comp.python.zope.zodb.cvs |
|---|---|
| Message-ID | <20121017212632.E61447083BC__44860.9387888156$1350509203$gmane$org@cvs.zope.org> |
Log message for revision 128047:
missed another one
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 21:20:41 UTC (rev 128046)
+++ ZODB/branches/patricks-blob-dir-perm/src/ZODB/component.xml 2012-10-17 21:26:29 UTC (rev 128047)
@@ -325,6 +325,13 @@
Path name to the blob storage 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>
<section type="ZODB.storage" name="*" attribute="base"/>
</sectiontype>
Modified: ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py
===================================================================
--- ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py 2012-10-17 21:20:41 UTC (rev 128046)
+++ ZODB/branches/patricks-blob-dir-perm/src/ZODB/config.py 2012-10-17 21:26:29 UTC (rev 128047)
@@ -213,7 +213,7 @@
options['client_label'] = self.config.client_label
if self.config.blob_dir_permissions is not None:
- options["blob_dir_permissions"] = convert_permissions(self)
+ options["blob_dir_permissions"] = convert_permissions(self.config)
return ClientStorage(