Your message dated Fri, 14 Sep 2007 12:04:46 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #440475,
regarding tree doesn't support 32 bit UIDs/GIDs
to be marked as having been forwarded to the upstream software
author(s) Steve Baker <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Hello Steve,
jfyi, here is a report from the Debian BTS
(<http://bugs.debian.org/440475>).
Cheers,
Flo
--- Begin Message ---
Package: tree
Version: 1.5.1.1-1
Severity: normal
Tags: patch
tree doesn't support 32 bit UIDs/GIDs:
chown -R 65536:65536 testdir && tree -ug testdir
testdir
`-- [root root ] testfile
0 directories, 1 file
ls -l testdir/testfile
-rw-r--r-- 1 65536 65536 0 2007-09-01 22:53 testdir/testfile
The attached patch is intended to solve this problem.
Regards
Pascal
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tree depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
tree recommends no packages.
-- no debconf information
diff -urN tree-1.5.1.1.debian/Makefile tree-1.5.1.1/Makefile
--- tree-1.5.1.1.debian/Makefile 2007-09-01 21:56:07.000000000 +0200
+++ tree-1.5.1.1/Makefile 2007-09-01 22:08:38.000000000 +0200
@@ -8,7 +8,7 @@
CC=gcc
#CFLAGS=-ggdb -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS=-O2 -Wall -fomit-frame-pointer -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
+CFLAGS=-O2 -Wall -fomit-frame-pointer -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX
LDFLAGS=-s
# Uncomment for FreeBSD:
diff -urN tree-1.5.1.1.debian/tree.c tree-1.5.1.1/tree.c
--- tree-1.5.1.1.debian/tree.c 2007-09-01 21:56:07.000000000 +0200
+++ tree-1.5.1.1/tree.c 2007-09-01 22:22:14.000000000 +0200
@@ -80,7 +80,13 @@
u_char isexe : 1;
u_char isfifo : 1;
u_char orphan : 1;
+#ifdef LINUX
+ u_short mode, lnkmode;
+ uid_t uid;
+ gid_t gid;
+#else
u_short mode, lnkmode, uid, gid;
+#endif
off_t size;
time_t atime, ctime, mtime;
dev_t dev;
--- End Message ---
signature.asc
Description: Digital signature
--- End Message ---