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

Chown and chmod stuff in post-install.yml #948

Closed
dannylamb opened this issue Oct 3, 2018 · 4 comments
Closed

Chown and chmod stuff in post-install.yml #948

dannylamb opened this issue Oct 3, 2018 · 4 comments
Assignees

Comments

@dannylamb
Copy link
Contributor

dannylamb commented Oct 3, 2018

There's two things I have to do over and over again every time I spin up a claw-playbook instance.

  1. Make and then chown and chmod the /var/www/html/drupal/web/sites/default/files/simpletest directory so that it is writable by the apache user. Otherwise you can't run tests.
  2. chown and chmod the three features modules we use (islandora_core_feature, islandora_demo, and controlled_access_terms_default_configuration). Otherwise you can't export features.

Ideally, we'd make the vagrant user part of the www-data group, then chown -R www-data:www-data /var/www/html/drupal/web/sites/default/files/simpletest and chmod -R g+w /var/www/html/drupal/web/sites/default/files/simpletest. Lather, rinse, repeat for the three features. I'm sure it will be subtly different for CENTOS, but essentially the same.

This would help solve two major annoyances from a developer experience perspective.

@ppound
Copy link
Member

ppound commented Oct 10, 2018

Danny if you want to assign this to me I can take a look.

@dannylamb
Copy link
Contributor Author

@ppound++

Assigned.

@ppound
Copy link
Member

ppound commented Oct 11, 2018

created a pull request for this here Islandora-Devops/islandora-playbook#80. I think this does what we need but some tests still fail with error that there is html in output but they don't throw the can't copy exception anymore.

@dannylamb
Copy link
Contributor Author

Resolved via Islandora-Devops/islandora-playbook@39ffe55

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

2 participants