[Zope-dev] Configurable Blob Permissions ZODB

Robert Niederreiter rnix at squarewave.at
Fri Jun 17 04:53:26 EDT 2011


Hi,

Refering to this bug report

https://bugs.launchpad.net/zodb/+bug/683751

And this usecases

http://stackoverflow.com/questions/6168566/collective-xsendfile-zodb-blobs-and-unix-file-permissions

It would be great if create mode of blobs would be configurable in ZODB
directly.

For UNIX Systems there could be 2 flags for folder creation mode and
blob file permissions, i.e.

BLOB_FOLDER_MODE = 750
BLOB_FILE_PERMISSIONS = stat.S_IRUSR | stat.S_IRGRP

which are used then at the appropriate places. 
See here: http://pastebin.com/wNLYyXvw

I don't know how this refers to NTFS, though.

Further this configuration flags should be available in ZOPE and ZEO
Server configuration files.

Any doubts, suggestions, other ideas?

Regards,

Robert

-- 
Robert Niederreiter

Squarewave Computing
Aflingerstraße 19
A-6176 Völs
Tel: +43 699 160 20 192
Web: http://www.squarewave.at



More information about the Zope-Dev mailing list