Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set up a tftp server on my linux server to serve files for my cisco 7940 sip phone. Is there any way I can serve these files without having to set their permissions to 777? Each time I change them even only a single bit, the file becomes unreachable.

I don't want all my linux users to be able to read these files, since they include some passwords.

share|improve this question
up vote 1 down vote accepted

From the man page of the 'tftpd' package.

The use of tftp(1) does not require an account or password on the remote system. 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.

I switched from using tftpd to using atftpd. I was able to set the user/group the tftp service starts as. After that I only had to grant access to the served files for that specific account/group.

share|improve this answer
+1, aftpd is much better... I've found some clients won't even work with the standard tftpd. – James Oct 18 '09 at 8:35

I went down that route for a while for my trixbox / polycom setup. However, full blown ftp was better for my situation... the polycom's would key off date/time of the files on the ftp server, and I believe that tftp doesn't support that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.