Subject: Bug report on wu-ftpd 2.4.2 beta 6

From: Yanming PENG <[email-masked]>
Date: Sun, 15 Oct 95 17:49:06 WETDST

I have compiled and installed 2.4.2 b6 on Linux 1.2.13 with Virtual domain.

No problem to compile and install. Two bugs are observed:

1. Under virtual server, keyword "upload" does not work. Anonymous user
   can upload anywhere if the dir permission allowing write. However, on the
   real server, "upload" works as expected.

2. The uploaded file's ownership is still incorrect but the permission is OK.
   I got error message:
550 fchown: Operation not permitted
   That is because Linux disallows regular user to do chown(). 
The Fix: delete line 1793 in ftpd.c (for Linux, I am not sure for other OS).

--
Yanming PENG  [email-masked]  http://peng.mech.kuleuven.ac.be or
http://www.mech.kuleuven.ac.be/pma/people/peng/index.html
-- The trouble with doing something right the first time is that nobody --
-- appreciates how difficult it was. --

---

From: Yanming PENG <[email-masked]>
Date: Sun, 15 Oct 95 19:06:58 WETDST

> 550 fchown: Operation not permitted

I found the real reason: the fs does not allow chown. The code in ftpd.c 
is correct.

> The Fix: delete line 1793 in ftpd.c (for Linux, I am not sure for other OS).
The above two lines are completely wrong. My apologies.