File permissions

Author Message

Jean-Luc NGUYEN

Friday 04 November 2005 2:12:53 am

Hi all,

I have searched but did not find, is there a documentation on which permissions to apply for each directory & file of eZ publish?

Thanks!

Kristof Coomans

Friday 04 November 2005 2:21:14 am

See http://ez.no/doc/ez_publish/technical_manual/3_6/installation/manual_installation/manual_configuration_of_ez_publish, under <b>File permissions</b>

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Jean-Luc NGUYEN

Friday 04 November 2005 2:38:48 am

Thanks, but the script to execute changes the permissions to 777 and it is not secure..

Kristof Coomans

Saturday 12 November 2005 1:37:05 am

You can do

chmod -R 770 var

.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Mike LeBlanc

Sunday 13 November 2005 6:56:10 am

I am trying to install 3.7.2 on MacOS X 10.4.2 and have got past the 30 sec timeout issue. But things still aren't right. The file var/log/error.log gets these messages during the setup wizard ...

[ Nov 13 2005 07:31:23 ] [10.0.1.60] Connection error: 1049: Unknown database 'nextgen'
[ Nov 13 2005 07:31:28 ] [10.0.1.60] Server variable 'HTTP_USER_AGENT' does not exist
[ Nov 13 2005 07:31:30 ] [10.0.1.60] Connection error: 1049: Unknown database 'nextgen'
[ Nov 13 2005 07:31:31 ] [10.0.1.60] Server variable 'HTTP_USER_AGENT' does not exist
[ Nov 13 2005 07:31:32 ] [10.0.1.60] Connection error: 1049: Unknown database 'nextgen'
...
[ Nov 13 2005 07:34:45 ] [10.0.1.60] Connection error: 1049: Unknown database 'nextgen'
[ Nov 13 2005 07:36:22 ] [10.0.1.60] Failed to write package 'packages/addons/contact_us/package.xml'
[ Nov 13 2005 07:36:34 ] [10.0.1.60] Failed to write package 'packages/addons/contacts/package.xml'
[ Nov 13 2005 07:36:44 ] [10.0.1.60] Failed to write package 'packages/addons/products/package.xml'

After that completes, I try to set the logo to a JPG file in admin / design / look and feel. On publishing, these new errors appear ...

[ Nov 13 2005 07:50:26 ] [10.0.1.60] Unknown destination file: var/shop/storage/images/design/shop/172-2-eng-US/shop_logo.jpg
[ Nov 13 2005 07:50:26 ] [10.0.1.60] Failed converting var/shop/storage/images/design/shop/172-2-eng-US/shop.jpg to alias original in directory var/shop/storage/images/design/shop/172-2-eng-US
[ Nov 13 2005 07:50:26 ] [10.0.1.60] Unknown destination file: var/shop/storage/images/design/shop/172-2-eng-US/shop_logo.jpg
[ Nov 13 2005 07:50:26 ] [10.0.1.60] Failed converting var/shop/storage/images/design/shop/172-2-eng-US/shop.jpg to alias original in directory var/shop/storage/images/design/shop/172-2-eng-US

[WebServer/Documents/ezpublish-3.7.2] # cd var/shop/storage/images/design/shop/172-2-eng-US
[design/shop/172-2-eng-US] # ls -l
total 8
drwxrwxrwx 3 www www 102 Nov 13 07:49 ./
drwxrwxrwx 3 www www 102 Nov 13 07:49 ../
-rw-rw-rw- 1 www wheel 2117 Nov 13 07:49 shop.jpg

I am trying to setup the "shop" example with the contacts and products thingies. Any ideas?

MySQL 4.1.12
PHP Version 4.3.11
ImageMagick-6.2.5

Mike LeBlanc

Tuesday 15 November 2005 12:53:03 pm

Just bumping this issue to keep it current. eZ publish is a great idea, but I don't have much more time to devote to a proof of concept, given that something so simple as adding an image doesn't work. Please tell me what I'm doing wrong.

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 19 2025 00:23:04
Script start
Timing: Jan 19 2025 00:23:04
Module start 'layout'
Timing: Jan 19 2025 00:23:04
Module start 'content'
Timing: Jan 19 2025 00:23:05
Module end 'content'
Timing: Jan 19 2025 00:23:05
Script end

Main resources:

Total runtime0.8418 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.0469152.6250
Module start 'layout' 0.00430.0025 741.671939.4453
Module start 'content' 0.00680.8335 781.1172609.5234
Module end 'content' 0.84040.0014 1,390.640616.1719
Script end 0.8418  1,406.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4337160.0002
Check MTime0.00130.1519160.0001
Mysql Total
Database connection0.00060.069610.0006
Mysqli_queries0.783293.0401680.0115
Looping result0.00060.0759660.0000
Template Total0.814196.720.4071
Template load0.00220.257920.0011
Template processing0.812096.452420.4060
Template load and register function0.00020.023810.0002
states
state_id_array0.00110.125610.0011
state_identifier_array0.00120.148320.0006
Override
Cache load0.00190.2203450.0000
Sytem overhead
Fetch class attribute can translate value0.00040.053430.0001
Fetch class attribute name0.00100.117670.0001
XML
Image XML parsing0.00070.085630.0002
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00070.0851160.0000
String conversion0.00000.000640.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs