Tuesday, May 30, 2017

Re: HELP! My HTTPD website keeps breaking because the custom directory/user permissions are being reverting for some reason!

On 2017-05-29, techay@protonmail.com <techay@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.

No comments:

Post a Comment