Friday, August 23, 2024

Re: lighttpd in openbsd - cant find devnull

On 8/21/24 14:25, Stuart Henderson wrote:
> On 2024/08/21 14:02, David Colburn wrote:
>> "$ cat /var/www/dev/null"
>>
>> Returns to the prompt.
>>
>> Here's this ...
>>
>> b7# rcctl -d start lighttpd
>> doing _rc_parse_conf
>> lighttpd_flags empty, using default >-f /etc/lighttpd.conf<
>> doing rc_check
>> lighttpd
>> doing rc_start
>> doing _rc_wait_for_start
>> doing rc_check
>> 2024-08-21 13:59:01:
>> (/usr/obj/ports/lighttpd-1.4.74-mysql/lighttpd-1.4.74/src/configfile.c.1840)
>> opening errorlog 'logs/error.log' failed: Permission denied
> Well that is failing on writing /var/www/logs/error.log


I just checked and the permissions for

/var/www/logs/error.log

are 644 converted from "-rw-r--r--" (if I'm reading things correctly).

Is that correct?

Owner and Group are "www www" - is that correct?

No comments:

Post a Comment