🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Anonymous ftp uploading problem - RH6

#490
From: Simon Child
Date: Sat, 07 Aug 1999 00:00
54 lines
2804 bytes
On Fri, 06 Aug 1999, Steve Houseman wrote:

>I dont know the answer, but a couple of suggestions ...
>You may have already tried this, but for problems which might be
>permissions ,  then #  su - <user> , and try to do whatever is failing ,
>ie in this case su - ftp , and try to create files in the
>pub/incoming directory .

Good suggestion. If I su - ftp then cd to pub/incoming I can create a file with
vi, so that suggests that permissions are OK?

>If ok then must be a ftpd (config) problem (?) rather than a file perms 
>and vv .                                                            
>If a ftp cfg problem then strace'ing  ftpd, and then firing the query 
>at it might reveal the problem - and then again it might not :-).             

If I edit inetd.conf to change the ftp line to 

/usr/sbin/tcpd  /usr/bin/strace -o /home/simon/stracelog in.ftpd -l -a

then logging does start, but unfortunately it seems to make all logins fail,
whether user or anonymous, so I don't get as far as attempting an upload :-(
   
[root@tower /root]# ftp localhost
Connected to localhost.
220 tower.localdomain FTP server (Version wu-2.5.0(1) Tue Jun 8 08:55:12 EDT 1999) ready.
Name (localhost:root): simon
331 Password required for simon.
Password:
ptrace: umoven: Input/output error
ftp> quit
ptrace: umoven: Input/output error       
Login failed.         

Try again:

[root@tower /root]# ftp localhost
Connected to localhost.
220 tower.localdomain FTP server (Version wu-2.5.0(1) Tue Jun 8 08:55:12 EDT 1999) ready.
Name (localhost:root): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
ptrace: umoven: Input/output error
Login failed.
ftp> quit
ptrace: umoven: Input/output error
[root@tower /root]#                     

This produces several hundred lines in stracelog, so I won't post it here :-)

Any more suggestions??
  
-- 
Simon Child
Technical Details
Message-ID: <934033078.1203241304@192.168.1.1>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <slrn7qeqhh.32u.simon@child.demon.co.uk> <vdedo7.6j.ln@rockhopper.woolacombe.lnx>

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: Simon Child <simon@child.demon.co.uk>
Subject: Re: Anonymous ftp uploading problem - RH6
Date: 1999/08/07
Message-ID: <934033078.1203241304@192.168.1.1>
X-Deja-AN: 509985137
Content-Transfer-Encoding: 8bit
X-NNTP-Posting-Host: child.demon.co.uk:158.152.51.6
References: <slrn7qeqhh.32u.simon@child.demon.co.uk> <vdedo7.6j.ln@rockhopper.woolacombe.lnx>
Followup-To: uk.comp.os.linux,demon.tech.unix
Content-Type: text/plain; charset="us-ascii"
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 934045363 nnrp-02:26797 NO-IDENT child.demon.co.uk:158.152.51.6
Organization: -
Mime-Version: 1.0
Newsgroups: uk.comp.os.linux,demon.tech.unix