Article View: uk.comp.os.linux
Article #498Re: Anonymous ftp uploading problem - RH6
From: Tim Haynes
Date: Sun, 08 Aug 1999 00:00
Date: Sun, 08 Aug 1999 00:00
44 lines
3111 bytes
3111 bytes
Simon Child <simon@child.demon.co.uk> doodled in uk.comp.os.linux: > >Yikes, didn't anything interesting turn up in /var/log/messages, security or > >the xferlog before resorting to strace? > Afraid not. Nothing helpful in messages (records an anonymous login and the > subsequent closing of the ftp session). /var/log/secure records a connect > from localhost. xferlog records downloads, but gives no record of refusal of > uploads. Pants! :( :) > >Check your /etc/ftpaccess file. The chances are at least one of the > >directories isn't set to allow incoming (writes) from anonymous users. > I posted my ftpaccess file at the beginning of this thread. It is as > installed by the RH6.0 install, and with a couple of changes that I tried > indicated by comments. Ah. Can you remind me then, what did it have for the section: #specify the upload directory information upload /home/ftp * no upload /home/ftp /incoming yes root daemon 0600 dirs upload /home/ftp /bin no upload /home/ftp /etc no A slackware box I use has this, and with suitable permissions on ~ftp/incoming/ (bearing in mind that you're writing into the directory as the 'ftp' user) it works fine. > RH6.0 is using shadow passwords, which I wasn't using on 5.2 - is that > anything to do with it? But authentication seems alright (I'm allowed an > anonymous connect and can download files) and permissions seem alright (user > ftp can write files to the incoming directory). Shadow password auth shouldn't have any effect on it at all, if you're coming in as anonymous. -- ~Tim ___ http://www.glutinous.custard.org/ _______ tim@glutinous.custard.org ____ | Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++ | | w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y- | | .|` Clouds cross the black moonlight / | | Rushing on down to the circle of the turning world .|` (Runrig) | `----------------------------------------------------------------------------'
Technical Details
Message-ID:
<slrn7qrvpo.mi.piglet@spodzone.pigsty.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn7qeqhh.32u.simon@child.demon.co.uk> <vdedo7.6j.ln@rockhopper.woolacombe.lnx> <934033078.1203241304@192.168.1.1> <fcsfo7.po.ln@rockhopper.woolacombe.lnx> <slrn7qpb39.1do.piglet@spodzone.pigsty.org> <934138800.381262543@192.168.1.1>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac57,46703e0382dc6a78 X-Google-Attributes: gidfac57,public X-Google-Thread: 10d8ad,46703e0382dc6a78 X-Google-Attributes: gid10d8ad,public From: piglet@glutinous.custard.org (Tim Haynes) Subject: Re: Anonymous ftp uploading problem - RH6 Date: 1999/08/08 Message-ID: <slrn7qrvpo.mi.piglet@spodzone.pigsty.org> X-Deja-AN: 510380329 References: <slrn7qeqhh.32u.simon@child.demon.co.uk> <vdedo7.6j.ln@rockhopper.woolacombe.lnx> <934033078.1203241304@192.168.1.1> <fcsfo7.po.ln@rockhopper.woolacombe.lnx> <slrn7qpb39.1do.piglet@spodzone.pigsty.org> <934138800.381262543@192.168.1.1> X-Complaints-To: abuse@theplanet.net X-Trace: news7.svr.pol.co.uk 934150148 10424 62.136.167.62 (8 Aug 1999 22:09:08 GMT) X-Caffeine-Requirement: Irn Bru and rising Organization: Customer of Planet Online User-Agent: slrn/0.9.5.6 (UNIX) Reply-To: piglet@glutinous.custard.org NNTP-Posting-Date: 8 Aug 1999 22:09:08 GMT Newsgroups: uk.comp.os.linux,demon.tech.unix