A Chmod question...

Author Message

Greg Sanderson

Monday 21 April 2008 1:26:11 am

Hi

I now have my eZ site working however for development I have set the permissions of all files and folders to 777. However when I chmod them all to something like 755 the images don't appear and there could be other problems I have not yet noticed.

So could anyone tell me what are the minimum chmod values I should use for the various files and folders so the site still works properly?

Thank you.

Andreas Adelsberger

Monday 21 April 2008 2:02:58 am

hi, just enable Validity Checking in your settings/override/site.ini.append.php

[SiteAccessSettings]
CheckValidity=true

ezPublish will show you the correct permissions of your files.

After you have modified your settings, just put it back to

[SiteAccessSettings]
CheckValidity=false

greetz andi

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

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 11:22:12
Script start
Timing: Jan 18 2025 11:22:12
Module start 'layout'
Timing: Jan 18 2025 11:22:12
Module start 'content'
Timing: Jan 18 2025 11:22:13
Module end 'content'
Timing: Jan 18 2025 11:22:13
Script end

Main resources:

Total runtime0.6733 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.7891152.6094
Module start 'layout' 0.00600.0040 740.398439.4063
Module start 'content' 0.01000.6604 779.8047522.3047
Module end 'content' 0.67040.0028 1,302.10948.1953
Script end 0.6732  1,310.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5108160.0002
Check MTime0.00140.2022160.0001
Mysql Total
Database connection0.00090.130710.0009
Mysqli_queries0.627193.1414540.0116
Looping result0.00050.0772520.0000
Template Total0.637894.720.3189
Template load0.00210.305920.0010
Template processing0.635794.420720.3179
Template load and register function0.00020.024610.0002
states
state_id_array0.00140.201710.0014
state_identifier_array0.00230.342820.0012
Override
Cache load0.00170.2496150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.076620.0003
Fetch class attribute name0.00100.150530.0003
XML
Image XML parsing0.00070.100720.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00120.1832160.0001
String conversion0.00000.001340.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs