Re: Configurable Blob Permissions ZODB

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Fri, Jun 17, 2011 at 8:45 AM, Robert Niederreiter <[email protected]> wrote:
> Am Freitag, den 17.06.2011, 08:06 -0400 schrieb Jim Fulton:
>> > Any doubts, suggestions, other ideas?
>>
>> -1 for a new configuration option.
>>
>> I would rather just have write permission *only* removed
>> from committed blob files.  Read permissions should be controlled
>> by existing mechanisms such as umask.
>
> So changing the creation mode for folders to 755 and for blobs to 444
> would be the solution then. right?

No. Use the default mode for folders and files, but removing write
access on committed blob files.

> Has this a chance to get into the next ZODB release?

Of course, but it's not a priority for me personally. I'd be happy to
review a patch with tests.  I'd even consider this a bug fix, rather
than a feature, so it could get into a 3.10 release.

Jim

--
Jim Fulton
http://www.linkedin.com/in/jimfulton
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.