From 58cdca3984beb4e1019ef5ccf1dd7361f032a9a6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 28 Mar 2010 20:01:31 +0200 Subject: apply post-1.16.0 fixes, bump version to 1.16.1 Signed-off-by: Denys Vlasenko --- networking/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/tftp.c') diff --git a/networking/tftp.c b/networking/tftp.c index 8d60388..b2c3c03 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -308,7 +308,7 @@ static int tftp_protocol( if (!ENABLE_TFTP || our_lsa) { /* tftpd */ /* Open file (must be after changing user) */ - local_fd = open(local_file, open_mode); + local_fd = open(local_file, open_mode, 0666); if (local_fd < 0) { error_pkt_reason = ERR_NOFILE; strcpy((char*)error_pkt_str, "can't open file"); -- cgit v1.1