I noticed that when a Siteworx user creates a secondary domain, default index.html and robots.txt files are created in the new domain’s /html folder. On our server, running Interworx v. 6.x, the two files get 755 permissions instead of the 644 permissions I would expect for files on a Linux system. Is that intended behavior, or is that a bug?
By the way, I love the index.html placeholder file that Interworx v. 6.x creates! I laugh every time I see one of them. It never gets old.
@linux4me I asked about this today: it appears to be a hold-over from when we used mod_php. With mod_php, files needed to be read by Apache and the SiteWorx user had to be able to read and execute things.
I’ve opened a ticket to consider other options now that we default to suphp and php-fpm, which do not suffer from the same limitations.
Thanks @iworx-brandon. I appreciate it. I don’t think the elevated permissions for those two files would do any harm, but I try to be cautious with file permissions on servers that host more than one account.