[Cubicweb] CubicWeb: 'system' instance on a server

Julien Cristau julien.cristau at logilab.fr
Fri May 23 18:22:54 CEST 2014


On Fri, May 23, 2014 at 16:56:12 +0200, Dimitri Papadopoulos Orfanos wrote:

> There is a bad side to "system" instances - but maybe you can help us
> work around it. We would like our Python scripts to run as 'aims' while
> at the same time opening a session in the CubicWeb instance. This
> doesn't work, the CubicWeb code called by the script complains that
> /etc/cubicweb.d cannot be accessed. We would like to avoid scripts
> running as 'root' on a server. Can you think of a clean way (not a hack)
> to start our scripts not as 'root' but as 'aims'? Alternatively, do you
> have an example of how to switch to 'aims' after having started the
> script as 'root'?
> 
It's not clear to me what these scripts are or what they're doing...

Cheers,
Julien
-- 
Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances



More information about the Cubicweb mailing list