【 在 spiceboy (sleepless) 的大作中提到: 】
: .BOARDS属主为bbs:bbs
: httpd中为nobody:nobody
: 这有什么问题么?
: thx
Or course there MAY BE some problems.
I asked you to show us the ".BOARDS 文件的权限设定(用 ls -l .BOARDS 看) ",
but you haven't done that:PP
Since your httpd is running as user nobody and group nobody,
if the setting of .BOARDS file is -rw------- or -rw-rw----
you are certainly not able to open it.
(The final 3 flags are for user nobody.)
Understand of UNIX's file access control will explain why.
Possible solutions:
1. chmod o+r .BOARDS
OR
2. set httpd running as group bbs
chmod g+r .BOARDS
OR
3. set httpd running as user bbs
PS: solution 2 and 3 need httpd restarted.
--
FROM 207.96.3.103