I''m trying to set up a FTP server on OpenSolaris (Well. actually
Nexenta Core2). It is supposed to be a guest-user-only, no anonymous access.
Currently, I can upload files, and see them on the server, but if I try to
download any of the uploaded files, I get only a zero-sized file with the name
of the original file, and then the server disconnects... I have tried command
line, Konqueror and FireFTP clients on Linux, and FireFTP on Windows 2000, the
behaviour of the server is the same with all the clients. I don''t
understand what''s wrong with my ftpaccess file :( I''ll add it
here, maybe some of you spot the error:
# ident "@(#)ftpaccess 1.2 03/05/14 SMI"
#
# FTP server configuration file, see ftpaccess(4).
#
class realusers real *
class guestusers guest *
class anonusers anonymous *
loginfails 3
passwd-check trivial warn
#private no
shutdown /etc/ftpd/shutdown.msg
# email user at hostname
# guestuser username
# rhostlookup no
#guest-root yes
keepalive yes
recvbuf 65536 guest
sendbuf 65536 guest
# flush-wait no anonymous
# passive ports 0.0.0.0/0 32768 65535
# timeout data 600
# timeout idle 300
banner /etc/ftpd/banner.msg
greeting brief
message /etc/ftpd/welcome.msg login
#message .message cwd=*
#readme README* login
#readme README* cwd=*
quota-info *
chmod yes guest
delete yes guest
overwrite yes guest
rename yes guest
umask yes guest
ls yes guestusers
compress yes guestusers
tar yes guestusers
path-filter guest /etc/ftpd/filename.msg ^[[:alnum:]._-]*$ ^[.-]
#noretrieve relative class=anonusers /
#noretrieve relative class=anonusers /pub
upload class=guestusers * * yes dirs
#upload class=anonusers * * no nodirs
# upload class=anonusers * /incoming yes ftpadm ftpadm 0440 nodirs
# log commands real,guest,anonymous
# log security real,guest,anonymous
# log transfers real,guest,anonymous inbound,outbound
# xferlog format %T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs
%Xr
# limit-time anonymous 30
# limit anonusers 10 Wk0730-1800 /etc/ftpd/toomany.msg
# limit anonusers 50 SaSu|Any1800-0730 /etc/ftpd/toomany.msg
defaultserver private
guestuser xxxx
guestuser yyyy
--
This message posted from opensolaris.org