File: 05-permissions.patch

package info (click to toggle)
diffmon 20020222-9.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 240 kB
  • sloc: sh: 1,789; sed: 21; makefile: 12
file content (15 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: create files in the debconf cache with permissions 600.
Author: Reid Sutherland <reid@vianet.ca>
Last-Update: 2002-02-26
diff -urN diffmon-20020222/diffmon diffmon-20020222/diffmon
--- diffmon-20020222/diffmon	Tue Feb 26 09:03:15 2002
+++ diffmon-20020222/diffmon	Tue Feb 26 09:01:11 2002
@@ -496,7 +496,7 @@
       cp "${file}" "${tmpfile}" \
         && ${compress_program} "${tmpfile}" \
         && mv "${tmpfile}${compressed_file_suffix}" "${ofile}${compressed_file_suffix}" \
-        && chmod 666 "${ofile}${compressed_file_suffix}"
+        && chmod 660 "${ofile}${compressed_file_suffix}"
       rm -f "${tmpfile}"
    done
 }