[Rt-commit] r17101 - rt/3.8/trunk/share/html/Install
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Dec 4 12:41:25 EST 2008
Author: sunnavy
Date: Thu Dec 4 12:41:25 2008
New Revision: 17101
Modified:
rt/3.8/trunk/share/html/Install/Finish.html
Log:
automatically make etc/RT_SiteConfig.pm readonly after finished configuration
Modified: rt/3.8/trunk/share/html/Install/Finish.html
==============================================================================
--- rt/3.8/trunk/share/html/Install/Finish.html (original)
+++ rt/3.8/trunk/share/html/Install/Finish.html Thu Dec 4 12:41:25 2008
@@ -61,7 +61,7 @@
</p>
<p>
-<&|/l, RT::Installer->ConfigFile &>The settings you've chosen are stored in [_1]. You can edit this file to refine your configuration further. You can prevent this installation wizard from being shown again by running `<tt>chmod -w '[_1]'</tt>`.</&>
+<&|/l, RT::Installer->ConfigFile &>The settings you've chosen are stored in [_1].</&>
</p>
</div>
@@ -79,6 +79,9 @@
RT->InitClasses();
RT->InitPlugins();
+ system( 'chmod -w ' . RT::Installer->ConfigFile ) &&
+ $RT::Logger->error(
+ 'failed to make ' . RT::Installer->ConfigFile . ' readonly' );
my $root = RT::User->new( $RT::SystemUser );
$root->Load('root');
$root->SetPassword( $RT::Installer->{InstallConfig}{Password} );
More information about the Rt-commit
mailing list