Problem with tftp server
Tommy Trussell
tommy.trussell at gmail.com
Fri Jan 28 22:07:39 UTC 2022
On Fri, Jan 28, 2022 at 12:26 PM Jerry Geis <jerry.geis at gmail.com> wrote:
>
>
> On Thu, Jan 27, 2022 at 11:03 PM Tommy Trussell <tommy.trussell at gmail.com>
> wrote:
>
>>
>> I have not used tftp in awhile, but have you checked the permissions on
>> the file "jerry" in /tftpboot ? The file may be invisible to the daemon due
>> to the wrong group or file permissions.
>>
>> You might also try to put a different file onto the server using tftp and
>> see what permissions the resulting file has.
>>
>> The man page for your version of tftpd will likely contain some useful
>> information.
>>
>>
>> HI Tommy,
>
> The file has permission:
> -rw-r--r-- 1 root root 8 Nov 21 20:11 jerry
>
> The directory has:
> drwxrwxrwx 2 root root 12288 Nov 21 20:11 tftpboot
>
> Seems like that should be readble by all?
>
> Thanks
> Jerry
>
I was under the impression that most implementations of tftp are very picky
about the permissions and I would think they would NOT share any files
owned by root.
For example see if there's a tftp group already created and maybe chown the
file (and maybe its directory) to tftp:tftp ?
Does the man page for your version of tftpd say anything about the default
permissions?
Also I suggested you try using a client to put a file in the server's
directory. What permissions does it give that file? I would think it might
be the same permissions needed for reading a file.
If you can't tell I'm stabbing in the dark but suggesting how I would go
about it. I ALWAYS start with the man page. The information might be
inscrutable, but there's usually some nugget of information that gets me
closer to understanding.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220128/dbfb4aff/attachment.html>
More information about the ubuntu-users
mailing list