linux-ftpd-0.17 cannot run static ls in a chroot jail
Posted: Fri Sep 05, 2003 4:22 am
Hi, sorry if this looks like a newbie question, but I looked through these forums and couldn't find any existing answer, so here it goes:
I have installed grsec-1.9.11 on a 2.4.21 kernel (selecting the medium security level), and want to run linux-ftpd-0.17. The ftpd works fine, but if I log in as anonymous, the static /bin/ls in the chroot jail is sent a signal 11 every time it gets run by ftpd. I can upload to and download from the chroot jail, but can't list the directories. The ownership and permissions all look fine to me.
If I do a "chroot /home/ftp /bin/ls" outside of ftpd, it works fine. Could any one suggest what might be the problem?
I have installed grsec-1.9.11 on a 2.4.21 kernel (selecting the medium security level), and want to run linux-ftpd-0.17. The ftpd works fine, but if I log in as anonymous, the static /bin/ls in the chroot jail is sent a signal 11 every time it gets run by ftpd. I can upload to and download from the chroot jail, but can't list the directories. The ownership and permissions all look fine to me.
If I do a "chroot /home/ftp /bin/ls" outside of ftpd, it works fine. Could any one suggest what might be the problem?