I'm trying to configure wu-ftp so my web/ftp users only see their home
directories and the public directory (of course the /bin and /lib dirs
also)..  Currently, my web/ftp users can see their home directory, but
they can't do anything with their files (write/overwrite/etc).. It's as
if they don't own their home directory.  I don't want to have to add a
upload line in the ftpaccess file for every user - thats crazy.

I've attached my file access file.. and my passwd/group files look like
this: (~ftp)

passwd:
...
test:*:1017:300::/home/ftp/./users/web/test/:/bin/ftponly
...

group:
...
ftponly::300:
...

both those entries are also in the system passwd/group files (/etc)

Thanks in advance,
        -Paul
# For more options/commands see /usr/doc/wu-ftpd-academ/
# and ftpaccess(5)

# The email address of the ftp admin, can be
# accessed via the %E in messages.
email   [EMAIL PROTECTED]

#loginfails 5

class   local   real,guest,anonymous *.3dillusion.com 192.168.100.0
class   remote  real,guest *
class   anon    anonymous *

guestgroup      ftponly

limit   local   10      Any             /etc/ftpd/msg.toomany
limit   remote  10      Any             /etc/ftpd/msg.toomany
limit   anon    2       Any             /etc/ftpd/msg.toomany

readme  README* login
readme  README* cwd=*

compress        yes     local remote
tar             yes     local remote anon

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

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

# use ftpshut to generat this file on shutdown
shutdown /etc/ftpd/shutmsg

# These files are marked unretrievable
noretrieve /etc/passwd /etc/group
noretrieve core

# All the following default to "yes" for everybody
# Guests should know what they are doing ;-)
rename          no      anonymous               # rename permission?
delete          no      anonymous               # delete permission?
overwrite       no      anonymous               # overwrite permission?
chmod           no      anonymous               # chmod permission?
umask           no      anonymous               # umask permission?

# FTP-home-dir          archiv-dir      allow?  owner   group   mode    dirs?
# (as in /etc/passwd)
upload  /home/ftp       *               no
#upload /home/ftp       /pub/incoming   yes     ftp     daemon  0666    nodirs

# path-filter... (/etc is the etc directory of the anonymous FTP account)
path-filter     anonymous       /etc/pathmsg  ^[-+A-Za-z0-9_.]*$  ^\.  ^-
path-filter     guest           /etc/pathmsg  ^[-+A-Za-z0-9_.]*$  ^\.  ^_

# Shortcuts for incoming
alias   incoming:       /pub/incoming
cdpath  /pub

Reply via email to