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.