Thanks for that! smile

I did a little relocating and tweaking, and now it appears to be working fine. With a nice limitation on where files can be written - much easier to spot lurkers.

Okay, with only the Avatars directory, the Cache directory, and the database file set to write access, this is the error that comes up.

An error was encountered
File: /www/docs/bgc-rpg/include/functions.php
Line: 78

PunBB reported: Unable to insert into online list

Database reported: unable to open database file (Errno: 14)

I know that PunBB requires full r/w permissions for some files/folders - otherwise, how could it record the posts? tongue

What I would like to know is; exactly which files need write permission? Exactly which folders? I would like to put as much as possible read-only for the Apache user, to limit intruder access should they get in (and one day somebody will...). Unfortunately, I don't know exactly what, where, needs access. I tried limiting write access to only the Cache directory and the database file (I'm using SQLite) - but that caused PunBB to stop functioning.

This isn't a huge problem, as I doubt any attacker could do much on my system (I'm only running Apache and SSH - no FTP access whatsoever), but I would like to know anyway. Helpful for future usage.

Thanking you in advance.

Hello, mods. New user here...

I am having the same problem, started after I tried to make my system a little less open to intrusion (removing the global write access of the web-server's user).

Currently, the server user (apache) has only read access to the entirety of the PHP files, but I have given the database file (running sqlite) global write access. Likewise, the cache directory has global everything access; code 777.

Still, I am coming up with this error.

File: /www/docs/bgc-rpg/include/functions.php
Line: 84

PunBB reported: Unable to update user visit data

Database reported: unable to open database file (Errno: 14)

Just what file permissions does PunBB need in order to operate?