Forums / Install & configuration / File permissions

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.

eZ debug

Timing: Jan 31 2025 11:17:47
Script start
Timing: Jan 31 2025 11:17:47
Module start 'content'
Timing: Jan 31 2025 11:17:48
Module end 'content'
Timing: Jan 31 2025 11:17:48
Script end

Main resources:

Total runtime0.3442 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0124 587.9297180.8359
Module start 'content' 0.01240.0124 768.765698.0078
Module end 'content' 0.02480.3193 866.7734525.7500
Script end 0.3441  1,392.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.0585200.0002
Check MTime0.00140.4164200.0001
Mysql Total
Database connection0.00150.434910.0015
Mysqli_queries0.278180.78781410.0020
Looping result0.00160.47241390.0000
Template Total0.318892.610.3188
Template load0.00090.250510.0009
Template processing0.317992.349710.3179
Override
Cache load0.00050.159510.0005
Sytem overhead
Fetch class attribute can translate value0.00110.313210.0011
XML
Image XML parsing0.00030.095010.0003
General
dbfile0.01604.6350200.0008
String conversion0.00000.001730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs