Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titlefix permissions
# cd /var/www/drupal/sites/all
# chown -R www-data:www-data *
  • Set up the policies to allow Islandora to connect to Fedora. This is done by making changes in /usr/local/fedora/data/fedora-xacml-policies/repository-policies:restart tomcat
Code Block
languagebash
titlefix Fedora policies (may not be necessary from 7.x-1.4 onwards)Restart Tomcat
First remove the deny-purge policies in the default directory:
# rm /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-purge-*

Then, create the islandora directory for the Islandora policy files, and copy the files from the islandora core module over
# mkdir /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora
# cd /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora
# cp /var/www/drupal/sites/all/modules/islandora/policies/* . (since 7.x-1.4 onwards no longer available)

Now, restart Tomcat.
# $FEDORA_HOME/tomcat/bin/shutdown.sh
# $FEDORA_HOME/tomcat/bin/startup.sh

...