🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.comp.os.linux
Article #488

Anonymous ftp uploading problem - RH6

#488
From: Simon Child
Date: Tue, 03 Aug 1999 00:00
84 lines
2959 bytes
I've had anonymous ftp working fine before. It works now for
downloading, but I can't upload.

I reinstalled one machine with a fresh install of RH6, and did an
upgrade from RH5.2 to RH6 on another. Whilst I can connect to either of
these by anonymous ftp and download files (from each other and from a
third machine), I now can't upload to pub/incoming. When I try to I get
the message:

553 filename: Permission denied. (Upload)

I've upgraded the wu-ftpd package to the latest on the errata pages at
RedHat and now I get a different message:

553 filename: Permission denied on server. (Upload)

Permissions are like this:

[root@child ftp]# dir -l
total 5
d--x--x--x   2 root     root         1024 Jun 13  1998 bin
d--x--x--x   2 root     root         1024 Jun 13  1998 etc
drwxr-xr-x   2 root     root         1024 Jun 13  1998 lib
dr-xr-sr-x  12 root     ftp          2048 Aug  3 16:14 pub


[root@child pub]# dir -l
[snip]
drwx-wx-wx   2 root     ftp          3072 Aug  3 16:26 incoming


/etc/ftpaccess

class   all   real,guest,anonymous  *

email root@localhost

loginfails 5

readme  README*    login
readme  README*    cwd=*

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

compress        yes             all
tar             yes             all
chmod           no              guest,anonymous
delete          no              guest,anonymous
overwrite       no              guest,anonymous
rename          no              guest,anonymous

log transfers anonymous,real inbound,outbound

shutdown /etc/shutmsg

passwd-check rfc822 warn

#I've tried adding these lines from the man page:

upload  /home/ftp  *               no
upload  /home/ftp  /pub/incoming       yes  ftp   daemon 0666

#and also tried:

anonymous-root /home/ftp



Since I can login and download files I'm assuming that authentication is
OK. However RH6 appears to use shadow passwords which I think 5.2 did
not (?) 

The incoming directories are empty so it's not an overwriting
problem. The permissions seem OK to me (?).

Any suggestions?

TIA

-- 
Simon Child       Spam trap in Email Address.
Send email to simon.at.child.demon.co.uk  (Replace .at.)
Send spam to postmaster@127.0.0.1
Technical Details
Message-ID: <slrn7qeqhh.32u.simon@child.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,46703e0382dc6a78,start
X-Google-Attributes: gidfac57,public
X-Google-Thread: 10d8ad,46703e0382dc6a78,start
X-Google-Attributes: gid10d8ad,public
From: simon@child.demon.co.uk (Simon Child)
Subject: Anonymous ftp uploading problem - RH6
Date: 1999/08/03
Message-ID: <slrn7qeqhh.32u.simon@child.demon.co.uk>
X-Deja-AN: 508549835
X-NNTP-Posting-Host: child.demon.co.uk:158.152.51.6
X-Trace: news.demon.co.uk 933719814 nnrp-08:18938 NO-IDENT child.demon.co.uk:158.152.51.6
Organization: A Partly Organised InterNetNews site
Newsgroups: uk.comp.os.linux,demon.tech.unix
X-Complaints-To: abuse@demon.net