[lug] tftp problem

John Karns jkarns at csd.net
Fri Mar 9 21:10:46 MST 2001


On Fri, 9 Mar 2001, charles at lunarmedia.net said:

>i am trying to write to a file on a remote server via tftp. the file
>resident on the tftp server has 777 permissions and resides in the root of
>the tftp directory structure /tftpboot/.
>when i try to write to the file i receive the following in syslog:
>
>Mar  9 12:13:01 testbox tftpd[1629]: tftpd: write: Operation not permitted
>Mar  9 12:13:08 testbox tftpd[1633]: tftpd: trying to get file: Test
>Mar  9 12:13:08 testbox tftpd[1633]: tftpd: serving file from /tftpboot/
>
>
>Test is as follows:
>-rwxrwxrwx    1 root     root            0 Mar  9 12:13 Test

Just a guess: try changing ownership of the file to a non-root user.  It
may be that the tftp will not allow overwriting files owned by
root.  Similarly, if you're ftp-ing to the box as root, it may also
disallow creating files. Try it as a different user.

----------------------------------------------------------------------
John Karns                                              jkarns at csd.net




More information about the LUG mailing list