Package: proftpd Version: 1.2.4+1.2.5rc1-5woody2 When I use PROFTPD in chrooted environment, I see numeric UIDs instead of usernames. Groupnames are shown right. I have tried both stable and unstable versions. It shows this: ftp> ls -la 200 PORT command successful. 150 Opening ASCII mode data connection for file list. drwxr-sr-x 6 2321 mygrp 4096 Mar 8 11:15 . drwxr-sr-x 6 2321 mygrp 4096 Mar 8 11:15 .. 226-Transfer complete. 226 Quotas off
It is weird, because the proftpd process has open both necessary files (/etc/passwd and /etc/group). This can be verified from /proc listing: bash:~# ls -l /proc/1809/fd/ lrwx------ 1 root root 64 Mar 9 11:59 0 -> socket:[5451] lrwx------ 1 root root 64 Mar 9 11:59 1 -> socket:[5451] lrwx------ 1 root root 64 Mar 9 11:59 2 -> socket:[5459] lr-x------ 1 root root 64 Mar 9 11:59 3 -> /etc/group l-wx------ 1 root root 64 Mar 9 11:59 4 -> /var/log/wtmp lrwx------ 1 root root 64 Mar 9 11:59 5 -> /var/run/proftpd/proftpd-750 l-wx------ 1 root root 64 Mar 9 11:59 6 -> /var/log/xferlog lr-x------ 1 root root 64 Mar 9 11:59 7 -> /etc/passwd To configure proftpd to run in chrooted environment I use this in proftpd.conf: DefaultRoot /some/dir somegroup Debian precompiled proftpd shows correct usernames and groupnames when used in non-chrooted environment. When I compile my own proftpd from original sources then usernames always work. Maybe one of debian-specific patches does not work right in chrooted environment? I expect proftpd to show usernames in "ls -la" even in chrooted environment. I use Debian woody / kernel 2.4.25-1-686 / libc6 2.3.2.ds1-11 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

