3.6.0 > ?change user eZ runs under

Author Message

Joanie Chembars

Wednesday 27 July 2005 8:17:43 am

How can I change the user that eZ runs under? Somehow I installed it where it writes its files using the webserver permissions and I need it to write using my user's permissions.........

Björn Dieding@xrow.de

Wednesday 27 July 2005 10:50:56 am

Your server is not configured right.

Make use of the user/group directive in apache (suexec)

Apache should write/execute using your user.

You may also join the same group as apache

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Gabriel Ambuehl

Wednesday 27 July 2005 10:55:02 am

suexec only helps if PHP is run in CGI mode which doesn't work very well (some say not at all, I never tried) with ezpublish.

Easiest way is to configure Apache to run under the proper UID. Aside of that, there supposedly is some FastCGI hackery that might work but I never really dug into that.

Visit http://triligon.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:34:46
Script start
Timing: Jan 18 2025 22:34:46
Module start 'layout'
Timing: Jan 18 2025 22:34:46
Module start 'content'
Timing: Jan 18 2025 22:34:47
Module end 'content'
Timing: Jan 18 2025 22:34:47
Script end

Main resources:

Total runtime1.1737 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1641152.6406
Module start 'layout' 0.00480.0024 741.804739.4766
Module start 'content' 0.00731.1649 781.2813561.8906
Module end 'content' 1.17220.0015 1,343.171912.2969
Script end 1.1736  1,355.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2828160.0002
Check MTime0.00140.1230160.0001
Mysql Total
Database connection0.00060.052510.0006
Mysqli_queries1.131796.4236590.0192
Looping result0.00060.0525570.0000
Template Total1.145797.620.5728
Template load0.00200.170820.0010
Template processing1.143697.440320.5718
Template load and register function0.00010.012510.0001
states
state_id_array0.00070.062010.0007
state_identifier_array0.00250.212220.0012
Override
Cache load0.00160.1383130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.054430.0002
Fetch class attribute name0.00100.082740.0002
XML
Image XML parsing0.00060.048130.0002
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00070.0609160.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs