[lug] tftp default directory

charles at lunarmedia.net charles at lunarmedia.net
Tue Jan 30 14:19:39 MST 2001


Unfortunately, I have the dir itself as chmod 777. The only file I have
within the directory is also chmod 777.
When ever i try to issue get or put commands, i receive:

Error code 2: Access violation

And i am perplexed as to why.

-charles




On Tue, 30 Jan 2001, John Hernandez wrote:

>
> >From tftpd(8):
>
> Due to the lack of authentication information, tftpd will allow
> only publicly readable files to be accessed.  Files may be written only
> if they already exist and are publicly writable.
>
> So, in order to write a file, first you'll need to
>
> cd /tftpboot
> touch filename
> chmod a+rw filename
>
> To be read, files must have at least o+r permission.
>
> Hope that helps.
>
> charles at lunarmedia.net wrote:
> >
> > i am using rh7 with xinetd. the following tftp config is in place:
> >
> > service tftp
> > {
> >         socket_type             = dgram
> >         wait                    = yes
> >         user                    = nobody
> >         log_on_success          += USERID
> >         log_on_failure          += USERID
> >         server                  = /usr/sbin/in.tftpd
> >         server_args             = /tftpboot
> >         disable                 = no
> > }
> >
> > the machine is listening on udp 69 and answers calls, however the machine
> > does not seem to allow devices to write to the /tftpboot directory through
> > tftp or read from it. the dir on the server is 777.
> >
> > i am feeling that tftpd is not chrooting properly or something is
> > incorrect within the server_args.
> >
> > does anyone have tftp out of the box running properly on rh7?
> >
> > thanks -cjm
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
>




More information about the LUG mailing list