RE: 5. Fedora Core 4 TFTP - Permission denied (Jay Isaacs)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Let me add, the default user for in.tftpd is nobody. So you may want to tell
it which user you want to run it as. Therefore, I would add the '-u
username' to the command, example:

/usr/sbin/in.tftpd -l -v -u root -s /tftpboot

HTH
Khem

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]
On Behalf Of Jay Isaacs
Sent: Friday, March 31, 2006 5:41 AM
To: For users of Fedora Core releases
Subject: RE: 5. Fedora Core 4 TFTP - Permission denied (Jay Isaacs)

Upon another recommendation I kill the xinetd process and ran the tftp
server with the following command line and everything works fine.  There
must be some configuration item I an missing with xinetd.


/usr/sbin/in.tftpd -l -v -v -s /tftpboot 

-----Original Message-----
From: Leonid Flaks [mailto:flaks@xxxxxxx] 
Sent: Thursday, March 30, 2006 11:24 AM
To: fedora-list@xxxxxxxxxx
Subject: Re: 5. Fedora Core 4 TFTP - Permission denied (Jay Isaacs)

Jay,
tftp is not capable of creating new files. In order to put a file on a 
server you need to create an empty file first:
touch newfile.txt

Then you can put a real file with that name.

Hope that helps,

Leon

>
> This should be a relatively simple task buy I just can't get it 
> working. TFTP get from the server work fine but a put just results in 
> a permission denied. Any thought on this issue. Here are my current 
> configuration items.
>
> drwxrwxrwx 2 nobody nobody 4096 Mar 30 09:20 tftpboot
>
> [root@watcher /]# ll -r tftpboot/
>
> total 8
>
> -rwxrwxrwx 1 root root 0 Mar 30 08:41 ls.txt
>
> -rwxrwxrwx 1 nobody root 0 Mar 30 08:41 foo.txt
>
> [root@watcher /]#
>
> [root@watcher xinetd.d]# cat tftp
>
> service tftp
>
> {
>
> disable = no
>
> socket_type = dgram
>
> protocol = udp
>
> wait = yes
>
> user = root
>
> server = /usr/sbin/in.tftpd
>
> server_args = -s -c -v -v -v /tftpboot
>
> per_source = 11
>
> cps = 100 2
>
> flags = IPv4
>
> }
>
> **Jay**
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux