Package: dpkg-dev
Version: 1.10.27
Severity: normal
File: /usr/bin/dpkg-name
Hi,
I'm using dpkg-name from inside a "su - user -c ....", which means
that /dev/stderr is owned by root and inaccessible to user. In case of
an error dpkg-name then gets a permission denied for /dev/stderr.
Please change dpkg-name to use the already open FD 2 instead of
reopening stderr:
stderr () {
- echo "${prog}: $@" >/dev/stderr;
+ echo "${prog}: $@" >&2;
}
MfG
Goswin
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-frosties-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dpkg-dev depends on:
ii binutils 2.15-5 The GNU assembler, linker and bina
ii cpio 2.5-1.2 GNU cpio -- a program to manage ar
ii make 3.80-9 The GNU version of the "make" util
ii patch 2.5.9-2 Apply a diff file to an original
ii perl [perl5] 5.8.4-8 Larry Wall's Practical Extraction
ii perl-modules 5.8.4-8 Core Perl modules
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]