Subject: question on upload statement in ftpaccess

From: Willy Hertanu <[email-masked]>
Date: 13 Mar 96 15:49:31 EDT

I'm running into a problem whereas the files uploaded from a guest user on ftp 
doesn't have an owner/group and mode that I specified on /etc/ftpaccess. The 
owner and group follows from the parent directory and the mode is always 755. 
Any ideas?

Here is a copy of my /etc/ftpaccess file :

---------starts here
loginfails 3

class   local   real,guest,anonymous *.wustl.edu 0.0.0.0
class   remote  real,guest,anonymous *

limit   local   20  Any                 /etc/msgs/msg.toomany
limit   remote  100 SaSu|Any1800-0600   /etc/msgs/msg.toomany
limit   remote  60  Any                 /etc/msgs/msg.toomany

# readme  README*    login
# readme  README*    cwd=*

# message /welcome.msg            login
# message .message                cwd=*

compress        yes             local remote
# tar             yes             local remote

# allow use of private file for SITE GROUP and SITE GPASS?
private         no

# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
passwd-check    rfc822  warn

guestgroup upuser
log commands anonymous,real,guest
log transfers anonymous,real,guest inbound,outbound
shutdown /etc/shutmsg
email [email-masked]
banner /etc/msgs/banner

# all the following default to "yes" for everybody
delete          no      guest,anonymous         # delete permission?
overwrite       no      guest,anonymous         # overwrite permission?
rename          no      guest,anonymous         # rename permission?
chmod           no      guest,anonymous         # chmod permission?
umask           no      guest,anonymous         # umask permission?

# specify the upload directory information
upload  /var/spool/ftp  *             no
upload  /var/spool/ftp  /incoming     yes     root    daemon  0600 dirs
upload /var/spool/upuser/upuserall  *  yes  root   daemon  066  dirs
upload  /var/spool/ftp  /bin          no
upload  /var/spool/ftp  /etc          no

# directory aliases...  [note, the ":" is not required]
# alias   inc:    /incoming

# cdpath
# cdpath  /incoming
# cdpath  /pub
# cdpath  /

# path-filter...
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
--------------ends

So in this case, all the files/dirs that upuserall created doesn't have an 
owner of root/daemon and the mode is 755.

Thanks for any input.

Willy Hertanu
Arbor Software