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 |
|
|
+ |