Hi! I am using wu-ftpd-2.4.2-beta-16 on Slackware Linux, kernel
2.1.89. Anonymous upload into ~ftp/incoming works for uploading
directly into ~ftp/incoming, but if the anonymous ftp user creates
directories under ~ftp/incoming he cannot upload files into those
directories. I spent several hours yesterday reading manpages
and searching DejaNews, but I still could not solve my problem.
The permissions are as follows:
dr-xr-xr-x 6 root ftp 1024 Apr 22 11:25 ftp/
drwxrwxrwx 8 root root 1024 Apr 28 14:21 incoming/
If I create directories under ~ftp/incoming with the ncftp client,
I get something like
drwx------ 2 ftp ftp 1024 Apr 29 11:18 tzt/
(see note about UMASK later)
Here are some parts of my /etc/ftpaccess file:
# 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 anonymous # chmod permission?
umask no anonymous # umask permission?
# specify the upload directory information
upload /home/ftp * no
upload /home/ftp /incoming yes ftp daemon 0666 dirs
upload /home/ftp /bin no
upload /home/ftp /etc no
path-filter anonymous /etc/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^-
path-filter guest /etc/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^-
I have also tried starting the wu-ftpd in /etc/inetd.conf with a different
UMASK (077) with the command
ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l -i -a -u077
but nothing helps, I still cannot upload anonymously to directories I've
created anonymously under ~ftp/incoming. Am I missing something here?
Thanks in advance for any help!