From owner-freebsd-questions Sun Jul 27 22:00:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA09989 for questions-outgoing; Sun, 27 Jul 1997 22:00:49 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts14-line9.uoregon.edu [128.223.150.175]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA09984 for ; Sun, 27 Jul 1997 22:00:46 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id WAA06280; Sun, 27 Jul 1997 22:00:25 -0700 (PDT) Date: Sun, 27 Jul 1997 22:00:25 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Annelise Anderson cc: freebsd-questions@FreeBSD.ORG Subject: Re: wu-ftpd doesn't tar or compress In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 26 Jul 1997, Annelise Anderson wrote: > I installed the wu-ftpd port (2.2.2-RELEASE) and it runs from > inetd with the -i, -l, and -a switches. It is logging to xferlog. > In ftp/bin I have ls, tar, gzip, and compress, all owned root:ftp > with 111 permissions. The directories in ftp are 555. > > In pub I have a directory called junk with some junk files in it, > but when I log in to the server and type get junk.tar.gz or > get junk.tar.Z it says "No such file or directory." > > ftpaccess and ftpconversions are in /usr/local/etc; I have not > modified them. > > There's a statement somewhere that gnu tar is required....is the > FreeBSD tar gnu tar? Yes. Your ftpconversions file should look like this: #ftpconverions file :.Z: : :/bin/gzip -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS : : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS :.gz: : :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP : : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP : : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR : : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS : : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP And add the following lines to ftpaccess: compress yes all local remote tar yes all local remote Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo