From owner-freebsd-questions Mon Jun 11 17:22:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kheops.demo.telefonica.com.pe (kheops.demo.telefonica.com.pe [200.37.84.130]) by hub.freebsd.org (Postfix) with ESMTP id BAAFE37B403 for ; Mon, 11 Jun 2001 17:22:05 -0700 (PDT) (envelope-from rcc@demo.telefonica.com.pe) Received: from elcsa20008 (khephren.demo.telefonica.com.pe [200.37.84.131]) by kheops.demo.telefonica.com.pe (8.11.0/8.11.0) with SMTP id f5C0Xjt26060; Mon, 11 Jun 2001 19:33:46 -0500 (PET) Message-ID: <089501c0f2d4$a40874a0$4d01190a@tp.com.pe> From: "Richard Cotrina" To: "=?iso-8859-1?Q?Diego_A._Puertas_Fern=E1ndez?=" Cc: References: <003101c0f226$2463e760$0200a8c0@a> <004a01c0f2aa$6ea67a20$b07cfea9@PCMONITOR> Subject: RE: Problem with TFTP server Date: Mon, 11 Jun 2001 19:14:24 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Diego : By security reasons , the tftp daemon does not allow remote creation of files in the tftpboot dir. First, you must create the file and then try to upload the file. Also, you have to give read/write permissions to that file before uploading. More information : man tftpd Hope this help. Richard Cotrina ----- Original Message ----- From: Diego A. Puertas Fernández To: Sent: Monday, June 11, 2001 2:05 PM Subject: Problem with TFTP server > Hello list: > > > I´m installing a TFTP server to back up configuration files from cisco > devices. > I uncomented the tftp line in /etc/inetd.conf, and now it looks like this: > > $ cat /etc/inetd.conf | grep tftp > tftp dgram udp wait nobody /usr/libexec/tftpd tftpd > /home/tftp > > then I´ve created an manipulated /home/tftp so now it looks like this: > > $ ls -ld /home/tftp > drwxrwxrwx 2 nobody nobody 512 Jun 11 14:22 /home/tftp > > I loging to get files from the TFTP server and it works just fine, but when > try to put files in, this happens: > > $ ls > InventarioCDM mail varios_pings.log > VARIOS_PINGS toroloco > tftp localhost > tftp> put varios_pings.log > Error code 1: File not found > tftp> > > What does this Error code 1: File not found means, the file varios_pings.log > exists, everybody can write on /home/tftp, what´s the problem? > > > Thanks > > Diego > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message