Re: Using shared blobs directory...

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FgdvkV7NZmaCSj7OUVzj2bdQ21-E-Ps2gU9==9bbT2YPg@mail.gmail.com>
On Fri, Aug 19, 2016 at 12:15 PM, Thierry Florac <[email protected]> wrote:

> Hi,
>
> In response to another question from Sanjay Rao a few hours ago, I still
> have a few questions about blobs usage over ZEO.
>
> In my operational context (under Linux), I deploy several ZODB clients
> applications using Apache and "mod_wsgi"; these applications are generaly
> deployed using a multi-processes configuration.
>
> So:
>  - I've read that the "shared_blobs_directory" option should be set to
> "on" when the blobs directory is shared between the ZEO server and the
> client. Is it still OK in "multi-clients" mode?
>
>  - I always use distinct system users to run ZEO process and Apache
> processes. As ZEO seems to create it's blobs with mode "600", can this
> configuration still be used?
>

First, if you use a shared blob directory, then the directory needs to
accessible on the client, either because the client is running on the same
machine as the server, or because you're using a distributed file system.

As you point out, the annoyingly tight permissions on created blobs means
that you need to run the client and server with the same users.  This
really should be configurable.  See Sean's reply. :)

Jim



-- 
Jim Fulton
http://jimfulton.info

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
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.