[CentOS] [CentOS 5] tftp-server, unable to create new files (even with "-c" option)

Ross S. W. Walker rwalker at medallion.com
Thu Sep 13 16:07:59 UTC 2007


Davide Grandis wrote:
> 
> Hi all,
> 
> I'm trying to setup a TFTP server to serve as repository for the  
> config of all my Cisco network devices.
> 
> As per the the tftpd man, I've added the "-c" option into the /etc/ 
> xinetd.d/tftp (as follows) but I still cannot get write access  
> (unless the file is already present).
> 
> [root at chl1 ~]# cd /etc/xinetd.d
> [root at chl1 xinetd.d]# cat tftp
> # default: off
> # description: The tftp server serves files using the trivial file  
> transfer \
> #       protocol.  The tftp protocol is often used to boot diskless \
> #       workstations, download configuration files to network-aware  
> printers, \
> #       and to start the installation process for some operating  
> systems.
> service tftp
> {
>          disable = no
>          socket_type             = dgram
>          protocol                = udp
>          wait                    = no
>          user                    = root
>          server                  = /usr/sbin/in.tftpd
>          server_args             = -s -c /tftpboot
>          per_source              = 11
>          cps                     = 100 2
>          flags                   = IPv4
> }

Did you give xinetd the HUP signal after modifying the file?



<snip>

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.




More information about the CentOS mailing list