Monday, March 5, 2012

TFTP server returns "Error Code 0: Permission Denied"


TFTP server returns "Error Code 0: Permission Denied"

if you get this error, make sure the tftp folder access permission.

change it to chmod 777 /var/lib/tftpboot.

[EDIT]: So you are changing the permission of tftpboot folder such that anybody can access it. Beware of it!! 

The above is bit dangerous to play with, better way is :

chgrp -R tftpd /var/lib/tftpboot

Adjust the permission as per your need.

4 comments:

  1. It worked!!!!!!!

    Thank you!

    ReplyDelete
  2. better way change ownership and group membership chown and chgrp to the user tothe group tftpd

    chgrp -R tftpd tftpboot

    ReplyDelete