Date: Tue, 11 Jun 2002 15:23:27 -0400 From: "Robert Blayzor" <rblayzor@inoc.net> To: <freebsd-stable@freebsd.org> Subject: Problem in tftpd Message-ID: <004201c2117d$76d1f290$6f00000a@z0.inoc.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201c2117d$76d1f290$6f00000a>