Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensuring that any files created by the generate_config script will have the correct permissions #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

unleftie
Copy link

@unleftie unleftie commented Sep 3, 2024

Debian 12, Docker 27.2.0, Ansible 2.17.2

Fatal error: Uncaught Error: Failed opening required '/web/inc/app_info.inc.php' (include_path='.:/usr/local/lib/php') in /web/inc/prerequisites.inc.php:24 Stack trace: #0 /web/index.php(2): require_once() #1 {main} thrown in /web/inc/prerequisites.inc.php on line 24

When running a role on an instance with umask 027 set at the system level, I received this error when opening https://$MAILCOW_HOSTNAME. As I understand it, PHP couldn't read the file it needed. The documentation states that we need to set the required umask 0022 parameter manually only at the stage of cloning the repo, but maybe it would be more correct to set this parameter also for generate_config script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant