*BSD News Article 12653


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!geraldo.cc.utexas.edu!geraldo.cc.utexas.edu!usenet
From: vax@ccwf.cc.utexas.edu (Vax)
Newsgroups: comp.os.386bsd.bugs
Subject: FTP client bug
Date: 12 Mar 1993 09:43:09 GMT
Organization: The University of Texas at Austin, Austin TX
Lines: 20
Message-ID: <1nplvdINNdqc@geraldo.cc.utexas.edu>
NNTP-Posting-Host: sylvester.cc.utexas.edu
Keywords: ftp client protocol tilde

Here is the bug;
Log in as user foo on system A (your system)
su to root.
ftp to system B
log in under ftp as user foo on system B
put ~/.profile ~/.profile

The last step will expand to
put ~foo/.profile ~foo/.profile
and not
put ~root/.profile ~foo/.profile
like I would expect.  Correct me if I am wrong.  This seems like the Wrong
Thing to do.  Is tilde expansion perfomed on the foreign system, even
on source files?  Or is this a Real Bug?
It's a small bug, at any rate.  Note that the above sequence still accesses
the source file as user root.

-- 
Protect our endangered bandwidth - reply by email.  NO BIG SIGS!
VaX#n8 vax@ccwf.cc.utexas.edu - finger for more info if you even care.