(Spotted by @jordijoangimenez while doing end-to-end testing)
When running the AS as a system service the directories created for nginx to use can be created with permissions that allow only the root user to read/write. Since the default for nginx is to attempt to run part of nginx with effective UID of the "nobody" user this means that static files and disk caches can be denied access when that part of nginx tries to use them.
Fix
This PR forces all directories created by the AS to appear on the file-system with read access for all users.
Problem
(Spotted by @jordijoangimenez while doing end-to-end testing)
When running the AS as a system service the directories created for nginx to use can be created with permissions that allow only the root user to read/write. Since the default for nginx is to attempt to run part of nginx with effective UID of the "nobody" user this means that static files and disk caches can be denied access when that part of nginx tries to use them.
Fix
This PR forces all directories created by the AS to appear on the file-system with read access for all users.