From owner-freebsd-questions Thu Apr 12 15:52:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from studict.student.utwente.nl (studict.student.utwente.nl [130.89.220.2]) by hub.freebsd.org (Postfix) with ESMTP id 19F6037B505 for ; Thu, 12 Apr 2001 15:52:19 -0700 (PDT) (envelope-from r.j.steehouder@student.utwente.nl) Received: from kabel203069.kabel.utwente.nl (kabel203069.kabel.utwente.nl [130.89.203.69]) by studict.student.utwente.nl (8.9.3/MQT) with ESMTP id AAA05119; Fri, 13 Apr 2001 00:52:00 +0200 (METDST) Date: Fri, 13 Apr 2001 00:52:37 +0200 (West-Europa (zomertijd)) From: Rogier Steehouder Reply-To: Rogier Steehouder To: Kondie Cc: FreeBSD-Questions Mailing List Subject: Re: TFTP configuration In-Reply-To: <000101c0c3de$bfdb4bf0$0aa994d0@one.malawi.net> Message-ID: X-Warning: UNAuthenticated Sender MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mail from Kondie, sent 13-04-2001: > Hello, > > I am trying to configure tftpd on FreeBSD 4.0. I call tftp in inetd.conf > with: > > tftp dgram udp wait nobody /usr/libexec/tftpd tftpd -l -s > /kondie /tftpboot > > I have placed a file smtp.sh in the directory /kondie. When I try to tftp > localhost, it is timing out as: > $ tftp localhost > tftp> put smtp.sh > Transfer timed out. > > tftp> > > The log shows: > > chroot: /kondie: Operation not permitted. I tried tftp from a cisco router a while ago. I found in the man-pages somewhere that tftpd will not allow creation of files, so to transfer a file to the server, you must overwrite an existing one. Even if you allow write permission on the directory, the server will not allow file creation, but it will allow overwriting. with kind regards, Rogier Steehouder -- ___ _ -O_\ Rogier Steehouder // | / mailto:r.j.steehouder@student.utwente.nl //\ / \ http://home.student.utwente.nl/r.j.steehouder/ // \ --------------------------------------------------------- "Bet you can't put it through the eye." "Left or right?" - Femeref Archers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message