Package: git-core
Version: 1:1.5.0.3-1
Severity: important

The build process uses

  [...]
  # contrib
  install -d -m0755 '$(GIT)'-core/usr/share/doc/git-core
  cp -R contrib '$(GIT)'-core/usr/share/doc/git-core/
  install git-p4import.py '$(GIT)'-core/usr/share/doc/git-core/contrib/
  find '$(GIT)'-core/usr/share/doc/git-core/contrib -type f | \
        xargs chmod 0644


to copy contrib. But this doesn't work if one has a rather restrictive
umask setting like e.g 077. If thats the case, contrib is missing the
execute/read bit for 'others'. I'm not sure if it is allowed to run the
package build with such a restrictive umask. But if it is, then there
are probally more directories besides contrib which are missing the r/x bit.

Simple test:

-working:

  xp:[/tmp] umask 0022
  xp:[/tmp] cp -r git-core-1.5.0.3/contrib . && ls -ld contrib && rm -R contrib
  drwxr-xr-x 9 root root 2048 2007-03-18 14:18 contrib

-not working

  xp:[/tmp] umask
  0027
  xp:[/tmp] cp -r git-core-1.5.0.3/contrib . && ls -ld contrib && rm -R contrib
  drwxr-x--- 9 root root 2048 2007-03-18 14:18 contrib

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages git-core depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libcurl3-gnutls             7.15.5-1     Multi-protocol file transfer libra
ii  libdigest-sha1-perl         2.11-1       NIST SHA-1 message digest algorith
ii  liberror-perl               0.15-8       Perl module for error/exception ha
ii  libexpat1                   1.95.8-3.4   XML parsing C library - runtime li
ii  perl-modules                5.8.8-7      Core Perl modules
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages git-core recommends:
ii  curl                         7.15.5-1    Get a file from an HTTP, HTTPS, FT
ii  git-doc                      1:1.5.0.3-1 fast, scalable, distributed revisi
ii  less                         394-4       Pager program similar to more
ii  openssh-client [ssh-client]  1:4.3p2-9   Secure shell client, an rlogin/rsh
ii  patch                        2.5.9-4     Apply a diff file to an original
ii  rsync                        2.6.9-2     fast remote file copy program (lik

-- no debconf information


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

Reply via email to