]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-log_files_permission.patch
rel 15; builds
[packages/apache1.git] / apache1-log_files_permission.patch
CommitLineData
bfc879b9
ER
1diff -Naurd build-tree.orig/apache_1.3.34/src/main/alloc.c build-tree/apache_1.3.34/src/main/alloc.c
2--- build-tree.orig/apache_1.3.34/src/main/alloc.c 2004-05-18 19:45:27.000000000 +0200
3+++ build-tree/apache_1.3.34/src/main/alloc.c 2004-05-18 19:45:51.000000000 +0200
4@@ -2193,7 +2193,7 @@
5 #ifdef WIN32
6 modeFlags = _S_IREAD | _S_IWRITE;
7 #else
8- modeFlags = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
9+ modeFlags = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
10 #endif
11
12 ap_block_alarms();
13diff -Naurd build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_agent.c build-tree/apache_1.3.34/src/modules/standard/mod_log_agent.c
14--- build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_agent.c 2004-02-20 21:37:40.000000000 +0100
15+++ build-tree/apache_1.3.34/src/modules/standard/mod_log_agent.c 2004-05-18 19:45:51.000000000 +0200
16@@ -24,7 +24,7 @@
17 /* OS/2 dosen't support users and groups */
18 static mode_t xfer_mode = (S_IREAD | S_IWRITE);
19 #else
20-static mode_t xfer_mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
21+static mode_t xfer_mode = (S_IRUSR | S_IWUSR | S_IRGRP );
22 #endif
23
24 typedef struct {
25diff -Naurd build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_config.c build-tree/apache_1.3.34/src/modules/standard/mod_log_config.c
26--- build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_config.c 2004-05-18 19:45:27.000000000 +0200
27+++ build-tree/apache_1.3.34/src/modules/standard/mod_log_config.c 2004-05-18 19:45:51.000000000 +0200
28@@ -150,7 +150,7 @@
29 /* OS/2 dosen't support users and groups */
30 static mode_t xfer_mode = (S_IREAD | S_IWRITE);
31 #else
32-static mode_t xfer_mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
33+static mode_t xfer_mode = (S_IRUSR | S_IWUSR | S_IRGRP );
34 #endif
35
36 /* POSIX.1 defines PIPE_BUF as the maximum number of bytes that is
37diff -Naurd build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_forensic.c build-tree/apache_1.3.34/src/modules/standard/mod_log_forensic.c
38--- build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_forensic.c 2004-02-21 16:24:36.000000000 +0100
39+++ build-tree/apache_1.3.34/src/modules/standard/mod_log_forensic.c 2004-05-18 19:46:57.000000000 +0200
40@@ -91,7 +91,7 @@
41 char *fname = ap_server_root_relative(p, cfg->logname);
42
43 if ((cfg->fd = ap_popenf_ex(p, fname, O_WRONLY | O_APPEND | O_CREAT,
44- 0644, 1)) < 0) {
45+ 0640, 1)) < 0) {
46 ap_log_error(APLOG_MARK, APLOG_ERR, s,
47 "could not open forensic log file %s.", fname);
48 exit(1);
49diff -Naurd build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_referer.c build-tree/apache_1.3.34/src/modules/standard/mod_log_referer.c
50--- build-tree.orig/apache_1.3.34/src/modules/standard/mod_log_referer.c 2004-02-20 21:37:40.000000000 +0100
51+++ build-tree/apache_1.3.34/src/modules/standard/mod_log_referer.c 2004-05-18 19:45:51.000000000 +0200
52@@ -25,7 +25,7 @@
53 /* OS/2 lacks support for users and groups */
54 static mode_t xfer_mode = (S_IREAD | S_IWRITE);
55 #else
56-static mode_t xfer_mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
57+static mode_t xfer_mode = (S_IRUSR | S_IWUSR | S_IRGRP );
58 #endif
59
60 typedef struct {
61diff -Naurd build-tree.orig/apache_1.3.34/src/modules/standard/mod_rewrite.c build-tree/apache_1.3.34/src/modules/standard/mod_rewrite.c
62--- build-tree.orig/apache_1.3.34/src/modules/standard/mod_rewrite.c 2004-05-18 19:45:28.000000000 +0200
63+++ build-tree/apache_1.3.34/src/modules/standard/mod_rewrite.c 2004-05-18 19:45:51.000000000 +0200
64@@ -3231,7 +3231,7 @@
65 #elif defined(WIN32)
66 mode_t rewritelog_mode = ( _S_IREAD|_S_IWRITE );
67 #else
68- mode_t rewritelog_mode = ( S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH );
69+ mode_t rewritelog_mode = ( S_IRUSR|S_IWUSR|S_IRGRP );
70 #endif
71
72 conf = ap_get_module_config(s->module_config, &rewrite_module);
This page took 0.546159 seconds and 4 git commands to generate.