Lighttpd permission denied /var/cache/lighttpd/compress/

Hello :slight_smile:

Please follow the below template, it will help us to help you!

Expected Behaviour:

Lighttpd start

Actual Behaviour:

Lighttpd stopped

I am running Pi-Hole :slight_smile:

  • Pi-hole version is v4.3 (Latest: v4.3)
  • AdminLTE version is v4.3 (Latest: v4.3)
  • FTL version is v4.3.1 (Latest: v4.3.1)

I have desactivate selinux :cold_sweat:

Problem to start
lighttpd/1.4.53

Error.log of lighttpd :

(mod_compress.c.275) can’t stat compress.cache-dir /opt/cache/lighttpd/compress/ Permission denied
2019-06-07 19:26:03: (server.c.1472) Configuration of plugins failed. Going down.

I have /opt because i was in /var so i create it in other directory with the same right. Still the same persmission error

ls -lsha /var/cache/lighttpd

0 drwx------ 4 root root 37 7 juin 18:56 .
0 drwxr-xr-x. 6 root root 60 7 juin 18:56 …
0 drwx------ 2 lighttpd lighttpd 6 7 juin 18:56 compress
0 drwx------ 2 lighttpd lighttpd 6 7 juin 18:56 uploads

I didn’t find something on the net. Any idea?

Thank you :slight_smile:

0 drwx------ 4 root root 37 7 juin 18:56 .

The lighttpd user can not open the folder

Thank you for your suggestion.
In fact it was like you say. I have only change the right in the compress folder.
In fact, i need to chown -R lighttpd /var/cache/

Problem solve! :slight_smile:

I get other problem but not this one anymore.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.