On 2017-05-29, tec...@protonmail.com <tec...@protonmail.com> wrote: > I have set the root to be /var/www/htdocs > Whilst others may think that is a bit pointless, it's fine for me. The issue > here is not the chroot, or the location I like to put my web content, it's > permissions and I can't see the relevance in the points you made - sorry.
If you use a system-provided directory like /var/www/htdocs, you can expect the system to reset permissions after certain updates. > I have figured out the issue, and for anyone else who might be interested, > then check out the man page for 'security'. Then you have not figured out the issue, because security(8) only checks, doesn't change things.