~ubuntu-branches/ubuntu/lucid/inspircd/lucid-security

« back to all changes in this revision

Viewing changes to debian/patches/03_disable_chmod.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith
  • Date: 2008-12-15 20:23:01 UTC
  • mfrom: (1.1.5 upstream) (3.2.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20081215202301-25dqehxj35tl5vsm
Tags: 1.1.22+dfsg-2
01_fix_config_reload.dpatch - Fix crash on config reload.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 03_disable_chmod.dpatch by  <cate@debian.org>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Don't change permission of configuration file!
6
 
## DP: we don't want to override sysadmin policies!
7
 
 
8
 
@DPATCH@
9
 
diff -urNad trunk~/src/configreader.cpp trunk/src/configreader.cpp
10
 
--- trunk~/src/configreader.cpp 2008-01-10 14:45:53.000000000 +0100
11
 
+++ trunk/src/configreader.cpp  2008-03-05 08:57:49.000000000 +0100
12
 
@@ -967,7 +967,7 @@
13
 
        }
14
 
 
15
 
        /* Fix the chmod of the file to restrict it to the current user and group */
16
 
-       chmod(filename,0600);
17
 
+       //chmod(filename,0600);
18
 
 
19
 
        for (unsigned int t = 0; t < include_stack.size(); t++)
20
 
        {