[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {let file_results=$test_result[2]} 3 4 {* {$file_results.safe_mode} *} 5 6 <h3>{$result_number}. {'Insufficient directory permissions'|i18n( 'design/standard/setup/tests' )}</h3> 7 {set-block variable=dir_list scope=root}{section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}<i>{$res.file}</i>{/section}{/set-block} 8 <p>{'eZ publish cannot write to some important directories, without this the setup cannot finish and parts of eZ publish will fail.'|i18n( 'design/standard/setup/tests' )}<br/> 9 {'The affected directories are: %dir_list'|i18n( 'design/standard/setup/tests',,hash( '%dir_list', $dir_list ) )}</p> 10 11 {section show=$file_results.user_info.has_extension} 12 <h3>{'Shell commands'|i18n( 'design/standard/setup/tests' )}</h3> 13 <p>{"These shell commands will give proper permission to the webserver."|i18n( 'design/standard/setup/tests' )}</p> 14 <pre class="example">cd {$file_results.current_path} 15 chmod -R ug+rwx {section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}{$res.file}{/section} 16 17 chown -R {$file_results.user_info.user_name}:{$file_results.user_info.group_name} {section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}{$res.file}{/section}</pre> 18 19 <h3>{'Alternative shell commands'|i18n( 'design/standard/setup/tests' )}</h3> 20 <p>{"If you don't have permissions to change the ownership you can try these commands."|i18n( 'design/standard/setup/tests' )}</p> 21 <pre class="example">cd {$file_results.current_path} 22 chmod -R a+rwx {section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}{$res.file}{/section} 23 24 </pre> 25 26 {section-else} 27 28 <p> 29 {"eZ publish could not detect the user and group of the webserver. 30 If you know the user and group of the webserver it's recommended to change the ownership of the files to match this user and group. 31 To do this you need to change the %chown commands under Alternative shell commands."|i18n( 'design/standard/setup/tests',, hash( '%chown', '<tt class="note">chown</tt>' ) )} 32 </p> 33 34 <h3>{'Shell commands'|i18n( 'design/standard/setup/tests' )}</h3> 35 <p>{"These shell commands will give proper permission to the webserver."|i18n( 'design/standard/setup/tests' )}</p> 36 <pre class="example">cd {$file_results.current_path} 37 chmod -R a+rwx {section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}{$res.file}{/section} 38 39 </pre> 40 41 <h3>{'Alternative shell commands'|i18n( 'design/standard/setup/tests' )}</h3> 42 <p>{"These commands will setup the permission more correctly, but require knowledge about the running webserver."|i18n( 'design/standard/setup/tests' )}</p> 43 <pre class="example">chmod -R og+rwx {section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}{$res.file}{/section} 44 45 chown -R nouser:nouser {section var=res loop=$file_results.result_elements}{section-exclude match=$res.result}{delimiter} {/delimiter}{$res.file}{/section}</pre> 46 47 <blockquote class="note"> 48 <p> 49 <b>{'Note'|i18n( 'design/standard/setup/tests' )}:</b> {'The %user_expr must be changed to your webserver username and groupname.'|i18n( 'design/standard/setup/tests',, hash( '%user_expr', '<tt>nouser:nouser</tt>' ) )} 50 </p> 51 </blockquote> 52 {/section} 53 54 {/let}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |