Pete,
I've deleted wu-ftpd from my systems and am using ProFTPd instead so I
can't send you my anonftp configuration, but:
wu-ftpd is by default set to deny uploads from anonymous ftp users.
You'll need modify the configuration file to allow for uploads.
Glen
On Wed, 7 Jun 2000, Pete Peterson wrote:
>
>A friend of mine just built a new machine and loaded it with RedHat 6.2,
>replacing an older 5.2 machine. He reported that he was unable to upload
>files by anonymous FTP, which he had no trouble doing with the 5.x system.
>Having set up anonymous FTP for years on many different flavors of Unix, I
>assured him this was trivial to set up, but then found that I couldn't make
>it work either! :-( I failed on any 6.x system whereas it worked fine on
>5.x systems with similar permissions and /etc/ftpaccess contents. I hadn't
>noticed this before, since I've had no occasion to use anonymous FTP on any
>of the numerous 6.x machines I've set up.
>
>Here's what I got trying on one of our local 6.2 machines (all 6.x machines
>gave the same symptoms):
>--------------------
>ultra9> ftp rh625
>Connected to rh625.
>220 rh625.genrad.com FTP server (Version wu-2.6.0(1) Mon Feb 28 10:30:36 EST 2000)
>ready.
>Name (rh625:rep): ftp
>331 Guest login ok, send your complete e-mail address as password.
>Password:
>230 Guest login ok, access restrictions apply.
>ftp> cd pub
>250 CWD command successful.
>ftp> lcd /o/rep
>Local directory now /o/rep
>ftp> put testfile
>200 PORT command successful.
>553 testfile: Permission denied on server. (Upload)
>--------------------
>
>* I can make connections, do directory listings and DOWNLOAD files fine.
> This rules out problems with ftpusers, hosts.deny/hosts.allow, etc.
>* I can FTP as an ordinary user and transfer files in either direction
>* I tried turning off "-a" and adding "-d" in the in.ftpd entry in
> inetd.conf (yes, I DID do the kill -HUP). The "-d" didn't produce any
> illuminating results.
>* I tried chmod go+x on /home/ftp/pub, which didn't help. I also tried
> chown-ing it to user "ftp" with no improvement.
>* I checked that "ftp" appeared correctly in the passwd and group files
>* I checked the ownership, content and permissions of the subdirectories
> of /home/ftp (see below).
>* I've tried 3 different 6.2 machines, one 6.1 machine and one 6.0 machine
> with identical behavior in each. The 6.0 machine had been updated to
> wu-ftpd-2.5.0-5.6.0, the 6.1 machine has wu-ftpd-2.6.0-1, and the 6.2
> machine has wu-ftpd-2.6.0-3.
>
>**********************************************************************
>Here's what /home/ftp looks like.
>**********************************************************************
>[root@rh6205 /home]# ls -Rls ftp
>ftp:
>total 4
> 1 d--x--x--x 2 root root 1024 May 13 10:07 bin
> 1 d--x--x--x 2 root root 1024 May 13 10:07 etc
> 1 drwxr-xr-x 2 root root 1024 May 13 10:07 lib
> 1 drwxr-sr-x 2 root ftp 1024 Feb 4 10:06 pub
>
>ftp/bin:
>total 299
> 17 ---x--x--x 1 root root 15632 Feb 4 10:07 compress
> 46 ---x--x--x 1 root root 45552 Feb 4 10:07 cpio
> 49 ---x--x--x 1 root root 48752 Feb 4 10:07 gzip
> 48 ---x--x--x 1 root root 48048 Feb 4 10:07 ls
> 139 ---x--x--x 1 root root 140528 Feb 4 10:07 tar
> 0 lrwxrwxrwx 1 root root 4 May 13 10:07 zcat -> gzip
>
>ftp/etc:
>total 25
> 1 -r--r--r-- 1 root root 53 Feb 4 10:06 group
> 23 -rw-r--r-- 1 root root 21949 Feb 4 10:06 ld.so.cache
> 1 -r--r--r-- 1 root root 79 Feb 4 10:06 passwd
>
>ftp/lib:
>total 1155
> 77 -rwxr-xr-x 1 root root 77216 Feb 4 10:07 ld-2.1.3.so
> 0 lrwxrwxrwx 1 root root 11 May 13 10:07 ld-linux.so.2 ->
>ld-2.1.3.so
> 968 -rwxr-xr-x 1 root root 985256 Feb 4 10:07 libc-2.1.3.so
> 0 lrwxrwxrwx 1 root root 13 May 13 10:07 libc.so.6 ->
>libc-2.1.3.so
> 76 -rwxr-xr-x 1 root root 75888 Feb 4 10:07 libnsl-2.1.3.so
> 0 lrwxrwxrwx 1 root root 15 May 13 10:07 libnsl.so.1 ->
>libnsl-2.1.3.so
> 34 -rwxr-xr-x 1 root root 33036 Feb 4 10:07 libnss_files-2.1.3.so
> 0 lrwxrwxrwx 1 root root 21 May 13 10:07 libnss_files.so.2 ->
>libnss_files-2.1.3.so
>
>ftp/pub:
>total 0
>**********************************************************************
>
>It seems like we have to be missing something simple here, but I can't
>think of what it might be. Can anyone help me save (regain?) my sanity?
>
>
> pete peterson
> GenRad, Inc.
> 7 Technology Park Drive
> Westford, MA 01886-0033
>
> [EMAIL PROTECTED] or [EMAIL PROTECTED]
> +1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
> +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
>
>
>
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.