Subject: Virtual Server

From: Jayme Cox <[email-masked]>
Date: Mon, 23 Oct 1995 14:58:51 -0700 (PDT)

Hi All,
	I'm using wu-ftp2.4.2 acedem beta 7 with the -DVIRTUAL switch 
defined and I'm having a strange problem. It seems if I define the 
virtual line in ftpaccess as:

virtual xxx.xxx.xxx.xxx /home/directory /home/directory/login.msg

anonymous ftp works just fine. Guestgroup logins work except for the 
fact that they don't get changed into their ./name directory. IE: 
guestgroup one has directory /home/directory/./name but when they login 
they are in /home/directory.
However, if I specify the virtual line in ftpaccess as:

virtual xxx.xxx.xxx.xxx /home/directory

Then anonymous ftp logs in the the REAL server (not the virtual one) and 
the Guestgroup logins work just fine!

This is on Solaris 2.4

Anyone seen similar behavior?

--
Jayme Cox <[email-masked]>

---

From: Yanming PENG <[email-masked]>
Date: Tue, 24 Oct 95 10:30:54 WETDST

> they are in /home/directory.

Same here on Linux 1.2.13. I think it is reasonable not to change into
their ./name directory. Since the virtual server has different root dir
from the one in /etc/passwd. So, the root dir from "virtual" line + home
dir name from /etc/passwd does not make much sense.

Moreover, I found "upload" keyword in 
ftpaccess does not work for virtual server. Anonymous login can
write anywhere where they have write permission. However, "upload"
keyword works fine in the real server. Can someone confirm on other
platforms?

Another stranges thing:
the server will fail if one does:
cd /incoming/aa/bb
it is fine to:
cd /incoming/aa
cd bb

There is a .message file under dir aa. aa and bb have the permission of 1777.
/incoming has permission of 771.

> the Guestgroup logins work just fine!
My test results show BOTH guestgroup and anonymous log in the REAL server.
the "virtual xxx.xxx.xxx.xxx /home/directory" line is ignored and the line
in /etc/passwd is used correctly. (under Linux 1.2.13)

--
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. --