Well, the file has to exist in the directory before it can be written to,
via tftp. As such, the permissions have to be set up on the file prior
to trying to upload it.
On Wed, 1 Nov 2000, David Brett wrote:
> Hi Mike
>
> I have a basic question. How do I setup the tftpboot directory, so that
> when a file is created in tftpboot it picks up all the rights of the
> Directory?
>
>
> david
>
> On Wed, 1 Nov 2000, Mike Burger wrote:
>
> > Thanks. Ok...First, I would change those permissions to 755, so that
> > they appear as drwxr-xr-x. I had a similar problem a while back, and it
> > turned out that my permissios were set as drwxr-xr--...once I added the
> > x, I was fine...for downloading. I'm still having some issues with
> > uploading (on a Guinness box), but for now I'm ok with that, while it
> > gets looked at by the RH folks.
> >
> > On Wed, 1 Nov 2000, David Brett wrote:
> >
> > > Hi Mike
> > >
> > > Sorry about that, here is what you asked for:
> > > drw-rw-rw- 2 root root 4096 Nov 1 09:45 tftpboot
> > > The one thing I don't understand is, When I as local user try and create
> > > a file. I get permission denied.
> > >
> > >
> > > david
> > >
> > > On Wed, 1 Nov 2000, Mike Burger wrote:
> > >
> > > > Unfortunately, those are the access rights of the file.
> > > >
> > > > What are the ownership and rights of the actual directory (should be
> > > > gleaned from an ls -l of the root directory)?
> > > >
> > > > On Wed, 1 Nov 2000, David Brett wrote:
> > > >
> > > > > Hi Mike
> > > > >
> > > > > Here is the access rights of the directory:
> > > > > -rw-rw-rw- 1 root root 0 Nov 1 09:45 test.txt
> > > > >
> > > > >
> > > > > This is what the logs show when I attempt to write to the directory via
> > > > > tftp:
> > > > >
> > > > > Nov 1 09:49:29 mxw-monitor tftpd[24848]: tftpd: trying to get file:
> > > > > test.txt
> > > > > Nov 1 09:49:29 mxw-monitor tftpd[24848]: tftpd: serving file from
> > > > > /tftpboot
> > > > >
> > > > >
> > > > > david
> > > > >
> > > > > On Tue, 31 Oct 2000, Mike Burger wrote:
> > > > >
> > > > > > What are the ownership and properties on the /tftpboot directory?
> > > > > >
> > > > > > On Tue, 31 Oct 2000, David Brett wrote:
> > > > > >
> > > > > > > I am trying to get tftp to work on 6.2. I can't figure out what I have
> > > > > > > incorrect. I created a directory '/tftpboot'. I created an empty file
> > > > > > > which I want to write too with tftp. I made the directory and the file.
> > > > > > > read and writable by everybody. I uncommented the tftp lines in
> > > > > > > /etc/inetd.conf. I restarted the service, when this did not work I
> > > > > > > restarted the 6.2 server.
> > > >
> > >
> >
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list