summaryrefslogtreecommitdiffstats
path: root/www/horde2/files/patch-aa
blob: deb6f20bb48d287dd52a58c03596a2b92c6894f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
--- scripts/set_perms.sh.orig	Sun Apr 15 03:55:32 2001
+++ scripts/set_perms.sh	Wed Oct 24 23:48:43 2001
@@ -1,6 +1,7 @@
 #!/bin/sh
 #
 # set_perms.sh - Jon Parise <jon@csh.rit.edu>
+# patched by the FreeBSD port - Th. Thomas <thierry@thomas.as>
 #
 # $Horde: horde/scripts/set_perms.sh,v 1.7 2001/04/15 01:55:32 chuck Exp $
 
@@ -10,7 +11,7 @@
 
 # Default non-web server user who will own the tree.
 #
-OWNER=root
+OWNER=www
 
 # Introductory text
 #
@@ -26,29 +27,30 @@
 
 # Verify that we're at the top of the Horde tree.
 #
-pwd
-echo
-echo -n "Is this directory the top of your Horde installation? [y,N] "
-read RESPONSE 
-if [ "$RESPONSE" != "y" -a "$RESPONSE" != "Y" ]; then
-    echo
-    echo -n "Enter your Horde directory: "
-    read DIR  
-	if [ "x$DIR" = "x" ]; then
-		echo "Exiting..."
-		exit
-	else
-    	cd $DIR
-	fi
-fi
-echo
+#pwd
+#echo
+#echo -n "Is this directory the top of your Horde installation? [y,N] "
+#read RESPONSE 
+#if [ "$RESPONSE" != "y" -a "$RESPONSE" != "Y" ]; then
+#    echo
+#    echo -n "Enter your Horde directory: "
+#    read DIR  
+#	if [ "x$DIR" = "x" ]; then
+#		echo "Exiting..."
+#		exit
+#	else
+#    	cd $DIR
+#	fi
+#fi
+#echo
+cd UPDATED_BY_THE_PORT
 
 # Get the web server's group.
 #
-echo -n "Under what group does the web process run? [nobody] "
+echo -n "Under what group does the web process run? [www] "
 read WEB_GROUP
 if [ "x$WEB_GROUP" = "x" ]; then
-    WEB_GROUP="nobody" 
+    WEB_GROUP="www" 
 fi
 
 # Ask before proceeding.
OpenPOWER on IntegriCloud