Xymon Mailing List Archive search

Wrong permissions on bb.html

2 messages in this thread

list Daniel J McDonald · Mon, 01 Aug 2005 07:39:48 -0500 ·
I built a new hobbit server, running 4.1.1, on Mandriva 2005.

bb.html, bb2.html, and bbnk.html show up with permissions of 600.
Apache refuses to read the files....

I know I fixed this somewhere once before, but I can't find it anywhere.

any ideas?

-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

user-290ce4e24e19@xymon.invalid
list Henrik Størner · Mon, 1 Aug 2005 15:22:54 +0200 ·
quoted from Daniel J McDonald
On Mon, Aug 01, 2005 at 07:39:48AM -0500, Daniel J McDonald wrote:
I built a new hobbit server, running 4.1.1, on Mandriva 2005.

bb.html, bb2.html, and bbnk.html show up with permissions of 600.
Apache refuses to read the files....
Sounds like the "umask" setting for the hobbit user is too restrictive.
Hobbit creates all files requesting mode 666, but the proces' umask
setting can modify this.

You'd probably want to stick a "umask 022" into your startup script.


Henrik