1
0
I am using two linux machines to do tftp file transfer. The transfer is happening properly if server_args path is /var/lib/tftpboot(default path). But when i change it to some other path for eg(/home/user/dir), the put command does not work. So for configuring a path for destination what is the way. Thanks
Thanks for early reply, but i had changed the permissions already and it did not helped. The permission for /home/user is also drwxrwxrwx. If i want to set a destination path where should i set it in the same destination sytem or another one? – manoj – 2017-05-10T15:29:04.320
Setting
777
on your home directory is a large security risk. If you want to put them in a$HOME
directory, can I suggest creating/home/tftp
thenchown -R tftp /home/tftp
and then modify yourserver_args
to point to/home/tftp
. – Grave_Rose – 2017-05-10T15:36:38.057i tried chown -R tftp /home/tftp and then modified server_args to point to /home/tftp but it is not working still. Put command does not work and gives timeout at end. :( – manoj – 2017-05-11T07:10:36.690
By the way i am working on redhat 6 – manoj – 2017-05-11T09:03:31.450
Do you have SELinux enabled? Of so, try disabling it to see if that helps. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Enabling_and_Disabling_SELinux-Disabling_SELinux.html
– Grave_Rose – 2017-05-11T11:59:15.137Fantastic. :) I'll update my answer to include SELinux. After that, would you mind upvoting the answer for me and then we can delete our comments? – Grave_Rose – 2017-05-11T13:10:08.540
Okay, sure i will do it – manoj – 2017-05-11T13:12:36.773