summaryrefslogtreecommitdiff
path: root/debian/dpkg.postinst
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-01-04 18:45:14 +0200
committerGuillem Jover <guillem@debian.org>2009-01-04 23:48:33 +0200
commit3cdfe225ab9b72cc7cb019fa8d8c81cd72d6ea52 (patch)
tree6fedd68c005916cf8b42272e8aa93aa9d9fc40be /debian/dpkg.postinst
parentcf0e5f8eeeaad2e4e1353c65e6c2e5685108b506 (diff)
downloaddpkg-3cdfe225ab9b72cc7cb019fa8d8c81cd72d6ea52.tar.gz
Make dpkg log files user readable
Closes: #480556
Diffstat (limited to 'debian/dpkg.postinst')
-rwxr-xr-xdebian/dpkg.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/dpkg.postinst b/debian/dpkg.postinst
index c611988c1..5bf456371 100755
--- a/debian/dpkg.postinst
+++ b/debian/dpkg.postinst
@@ -60,8 +60,8 @@ remove_info_symlink() {
create_logfile() {
logfile=/var/log/dpkg.log
touch $logfile
- chmod 640 $logfile
- chown root:adm $logfile 2>/dev/null || chown 0:4 $logfile
+ chmod 644 $logfile
+ chown root:root $logfile 2>/dev/null || chown 0:0 $logfile
}