From owner-freebsd-stable Tue Jun 11 12:34:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.inoc.net (mx1.inoc.net [64.246.131.30]) by hub.freebsd.org (Postfix) with ESMTP id 98ACE37B40C for ; Tue, 11 Jun 2002 12:34:11 -0700 (PDT) Received: from nimbus (unverified [10.0.0.111]) by mx1.inoc.net (Vircom SMTPRS 5.2.204) with ESMTP id for ; Tue, 11 Jun 2002 15:23:28 -0400 From: "Robert Blayzor" To: Subject: Problem in tftpd Date: Tue, 11 Jun 2002 15:23:27 -0400 Organization: INOC, LLC Message-ID: <004201c2117d$76d1f290$6f00000a@z0.inoc.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm running into a problem with tftpd. The problem is that when I specify a user to run tftp, say user "ftp", tftpd can't read any files in the root unless they are world readable. I start tftpd in inetd.conf as so: tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tmp/tftp -u ftp [host:/tmp/tftp] ls -l total 7256 -rw-r----- 1 ftp admins 7416600 Jun 11 15:11 c5300-is-mz.121-15.bin When I tftp from another box, I connect fine, tftpd runs as user ftp, but it can't read the file, I keep getting: tftp> get c5300-is-mz.121-15.bin Error code 2: Access violation tftp> quit Then if I make it world readable: [host:/tmp/tftp] chmod o+r c5300-is-mz.121-15.bin It works fine: tftp> get c5300-is-mz.121-15.bin Received 7461379 bytes in 22.0 seconds Any ideas? -- Robert Blayzor, BOFH INOC, LLC rblayzor@inoc.net I haven't lost my mind; it's backed up on tape somewhere. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message