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

Permissions set too soon by init.sh #4

Open
starchy opened this issue Apr 26, 2017 · 0 comments
Open

Permissions set too soon by init.sh #4

starchy opened this issue Apr 26, 2017 · 0 comments

Comments

@starchy
Copy link

starchy commented Apr 26, 2017

my_init runs /etc/my_init.d/10_init.sh, which set file permissions in the drupal directories, before bringing up apache. After those permissions are set apache/drupal/OA creates new files and sometimes rewrites files under /var/www/html, which leads to errors in the UI like

Warning: file_put_contents(private:///.htaccess): failed to open stream: "DrupalPrivateStreamWrapper::stream_open" call failed in file_create_htaccess() (line 496 of /var/www/html/includes/file.inc).

(I can see this isn't being actively developed, but github doesn't seem to allow me to open the issue against my fork right now)

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

No branches or pull requests

1 participant