/[smecontribs]/rpms/smeserver-trac/contribs7/smeserver-trac-0.4-trac-ini-ownership.patch
ViewVC logotype

Annotation of /rpms/smeserver-trac/contribs7/smeserver-trac-0.4-trac-ini-ownership.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Dec 29 14:40:14 2008 UTC (15 years, 10 months ago) by marcohess
Branch: MAIN
CVS Tags: smeserver-trac-0_4-58_el4_sme, smeserver-trac-0_4-56_el4_sme, smeserver-trac-0_4-55_el4_sme, smeserver-trac-0_4-67_el4_sme, smeserver-trac-0_4-54_el4_sme, smeserver-trac-0_4-57_el4_sme, smeserver-trac-0_4-64_el4_sme, smeserver-trac-0_4-63_el4_sme, smeserver-trac-0_4-66_el4_sme, HEAD
Fixed trac.ini file ownership problem after trac-project-modify for Bug #4428

1 marcohess 1.1 diff -urN smeserver-trac-0.4.old/root/etc/e-smith/events/actions/trac-project-modify smeserver-trac-0.4/root/etc/e-smith/events/actions/trac-project-modify
2     --- smeserver-trac-0.4.old/root/etc/e-smith/events/actions/trac-project-modify 2008-12-30 01:00:58.000000000 +1030
3     +++ smeserver-trac-0.4/root/etc/e-smith/events/actions/trac-project-modify 2008-12-30 01:04:46.000000000 +1030
4     @@ -123,4 +123,12 @@
5     "resync" ) == 0
6     or die "Error running trac-admin resync for $TracProjectName";
7    
8     -exit(0);
9     \ No newline at end of file
10     +#------------------------------------------------------------
11     +# Fix permissions on repository files.
12     +#------------------------------------------------------------
13     +
14     +system("/bin/chown", "-R", "www:www", "/home/e-smith/files/trac/$TracProjectName") == 0
15     + or die "Could not change ownership of /home/e-smith/files/trac/$TracProjectName";
16     +
17     +exit(0);
18     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed