wu-ftp seems to ignore lines in the ftpaccess file

"Mair, Wolfgang" <[email protected]> Mon, 29 Nov 2004 09:00:33 +0100
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <9CFB9DA5261CD611A29B00508B7890480D8CD57D@ex-deu-munich02.force.de>
Hello all, 

I'm trying to configure the in.ftpd via the ftpaccess file. And it seems
that the server is ignoring the lines with noretrieve and upload. Below is a
copy of the entire ftpaccess file. 

I'm using solaris 9 with it's bulid in wu-ftp rev 2.6.2 server. 

Here are the lines which I put in the ftpaccess file: 

The internal-stuff directory should only be visable by real users and not to
anyone else. (Currently everything is visable):

noretrieve    internal-stuff 
allow-retrieve    class=realusers        internal-stuff 

Furter on uploads should only be allowed by real users. (The upload is
working for real user and is denied for anonymous. But the uploaded files
have owner and group set to the real user instead of ftp and ftpadm and also
the permissions are not set as configured.):

upload        class=anonftp    *    *      no  nodirs 
upload    class=realusers    *    / yes ftp ftpadm 0440 nodirs 

Thank you for your help. 

Wolfgang 



Here is the complete ftpaccess file: 
# ident    "@(#)ftpaccess    1.1    01/06/26 SMI" 
# 
# FTP server configuration file, see ftpaccess(4). 
# 

# allow anonymous access from anywhere 
# real users only from networks listed below 
class           anonftp anonymous       * 
class   realusers   real 192.168.30.*/24 
class   realusers   real 10.70.64.*/24 
class   realusers   real 10.70.73.*/24 

loginfails    3 
# passwd has to contain a @ otherwise deny login 
passwd-check    trivial        enforce 
private        no 
keepalive    yes 

timeout    idle        300 

# messages shown before the login 
banner        /etc/ftpd/banner.msg 
greeting    terse 
# messages shown after login 
#message        /etc/ftpd/welcome.msg    login 
#message        .message        cwd=* 

chmod        no        anonymous 
delete       no        anonymous 
overwrite    no        anonymous 
rename       no        anonymous 
umask        no        anonymous 

path-filter    guest,anonymous    /etc/ftpd/filename.msg ^[[:alnum:]._-]*$
^[.-] 

noretrieve    internal-stuff 
allow-retrieve    class=realusers        internal-stuff 

upload        class=anonftp    *    *      no  nodirs 
upload    class=realusers    *    / yes ftp ftpadm 0440 nodirs 

log        commands    real,guest,anonymous 
log        security    real,guest,anonymous 
log        transfers    real,guest,anonymous    inbound,outbound 

# limit-time    anonymous    30 
# limit        anonftp    10    Wk0730-1800      /etc/ftpd/toomany.msg 
# limit        anonftp    50    SaSu|Any1800-0730 /etc/ftpd/toomany.msg