On Thu, Sep 11, 2008 at 8:33 AM, Michael DeHaan <mdehaan(a)redhat.com> wrote:
Stephen John Smoogen wrote:
> An interesting issue came up today with our RHEL-5 system running
> cobbler. We had not built a system in a couple of days, and had not
> seen any issues. Today of the systems could get tftp images from the
> box. They kept getting permission denied. For some reason the files in
> /tftpboot/images were 0600 (and directories 0700) which must have
> worked last week but did not today. the reason is that the EL-5 tftpd
> daemon gets the pxecfg.conf file as root but becomes nobody and could
> not get any of the scripts below it. Changing the permissions to 0644
> and 0755 fixed the issue.
>
> Now why did it work last week? I don't know.. I can't see any config
> file changes that would have allowed it to do so..
>
>
Has anyone else seen this problem? This is the first I've heard of it.
We could possibly not be setting umask correctly but nothing has changed
in this area of the code for a long time, so I'd be more likely to suspect
something external was adjusting your permissions.
Hmmm maybe. What should the umask for those directories be by default?
--
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"