Package: checkinstall
Version: 1.6.1-4
Followup-For: Bug #447779

Instead of changing the permissions to 644, the patch should set the
"other" perms to the same as those for "group", i.e. "o=g".

The correct patch is:

---cut here---
--- /usr/bin/checkinstall       2007-08-13 21:14:02.000000000 +0100
+++ checkinstall        2007-11-06 20:48:06.000000000 +0000
@@ -155,7 +155,7 @@
    echog "--stripso=<yes|no>             Strip any ELF binary libraries (.so 
files)" 
    echog "--addso=<yes|no>               Search for any shared libs and add"
    echog "                               them to /etc/ld.so.conf"
-   echog "--reset-uids=<yes|no>          Reset perms for all files/dirs to 755 
and"
+   echog "--reset-uids=<yes|no>          Reset perms for all files to o=g, 
dirs to 755 and"
    echog "                               the owner/group for all dirs to 
root.root"
    echog "--gzman=<yes|no>               Compress any man pages found inside 
the package"
    echog "--docdir=<path>                Where to put documentation files"
@@ -1642,6 +1642,7 @@
        if [ $RESET_UIDS -gt 0 ]; then
           find "$BUILD_DIR" -exec chown root.root {} \;
           find "$BUILD_DIR" -type d -exec chmod 755 {} \;
+           find "$BUILD_DIR" -type f -exec chmod o=g {} \;
        fi
 
        
##############################################################################
---cut here---

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'experimental'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages checkinstall depends on:
ii  file                          4.21-3     Determines file type using "magic"
ii  findutils                     4.2.31-1   utilities for finding files--find,
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

checkinstall recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to