<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Configuring_Apache_without_changing_User_and_Group</id>
	<title>Configuring Apache without changing User and Group - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Configuring_Apache_without_changing_User_and_Group"/>
	<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;action=history"/>
	<updated>2026-05-09T05:17:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;diff=16211&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Fixed typo and improved SPAG</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;diff=16211&amp;oldid=prev"/>
		<updated>2024-02-23T11:33:26Z</updated>

		<summary type="html">&lt;p&gt;Fixed typo and improved SPAG&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:33, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Instructions for installing EPrints on [[Installing_EPrints_on_RHEL/Fedora/CentOS|Red Hat based]] or [[Installing_EPrints_on_Debian/Ubuntu|Debian based]] Linux operating systems advises that you reconfigure Apache&#039;s configuration to set the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tather &lt;/del&gt;than &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; (for Red Hat based Linux) or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; (for Debian based Linux, where these are defined as &amp;lt;tt&amp;gt;APACHE_RUN_USER&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;APACHE_RUN_GROUP&amp;lt;/tt&amp;gt;).  It is not absolutely necessary to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;do this &lt;/del&gt;but if you choose not to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;change &lt;/del&gt;this the alternative configuration is more complex and may still lead to certain EPrints functionality not working as expected &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if at all if yor repository has certain &lt;/del&gt;plugins &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;installed &lt;/del&gt;or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uses particular &lt;/del&gt;bespoke configuration.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Instructions for installing EPrints on [[Installing_EPrints_on_RHEL/Fedora/CentOS|Red Hat based]] or [[Installing_EPrints_on_Debian/Ubuntu|Debian based]] Linux operating systems advises that you reconfigure Apache&#039;s configuration to set the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rather &lt;/ins&gt;than &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; (for Red Hat based Linux) or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; (for Debian based Linux, where these &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;settings &lt;/ins&gt;are defined as &amp;lt;tt&amp;gt;APACHE_RUN_USER&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;APACHE_RUN_GROUP&amp;lt;/tt&amp;gt;).  It is not absolutely necessary to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;set &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; &lt;/ins&gt;but if you choose not to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;do &lt;/ins&gt;this&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;the alternative configuration is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;somewhat &lt;/ins&gt;more complex and may still lead to certain EPrints functionality not working as expected&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  Particularly functionality provided by Bazaar &lt;/ins&gt;plugins or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;as a result of &lt;/ins&gt;bespoke configuration.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you choose to not configure &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; you need to perform the following steps instead.  If you want to make these changes to an existing EPrints repository, it is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sytrongly recommend &lt;/del&gt;that you do this on a pre-production test system first&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, so &lt;/del&gt;you &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;can &lt;/del&gt;fix any snags.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you choose to not configure &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; you need to perform the following steps instead.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;If you want to make these changes to an existing EPrints repository, it is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;strongly recommended &lt;/ins&gt;that you do this on a pre-production &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/ins&gt;test system first&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&#039;&#039;&#039; This will allow &lt;/ins&gt;you &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to test and &lt;/ins&gt;fix any snags &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;before changing your production system&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Add &lt;/del&gt;the &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; user to the &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; group, (depending on the Linux OS you are running).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;As the root user, add &lt;/ins&gt;the &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; user to the &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; group, (depending on the Linux OS you are running).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G apache eprints&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G apache eprints&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G www-data eprints&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G www-data eprints&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;2. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Add &lt;/del&gt;the &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; user, (depending on the Linux OS you are running), to the &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; group.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;2. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;As the root user, add &lt;/ins&gt;the &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; user, (depending on the Linux OS you are running), to the &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; group.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G eprints apache&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G eprints apache&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G eprints www-data&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  usermod -a -G eprints www-data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Ensure that all the files and directories have the same permissions for the group as for the user.  If you are just starting &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;you &lt;/del&gt;installation &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of EPrints &lt;/del&gt;this can be achieved &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with &lt;/del&gt;one of the following command &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;depending on whether &lt;/del&gt;you want other &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;users &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;have &lt;/del&gt;read &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;access to &lt;/del&gt;EPrints code, configuration &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and data&lt;/del&gt;.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Choose the former if you don&#039;t want other users to have read access&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Ensure that all the files and directories have the same permissions for the group as for the user.  If you are just starting &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;your EPrints &lt;/ins&gt;installation this can be achieved &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;by running &lt;/ins&gt;one of the following &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;commands as the root user.  (The former &lt;/ins&gt;command &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is already in the main installation instructions.  Use the latter command if &lt;/ins&gt;you &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;do not &lt;/ins&gt;want &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;users &lt;/ins&gt;other to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;be able to &lt;/ins&gt;read EPrints code, configuration &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or uploaded files)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;chmod 2775 /opt/eprints3&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  chmod 2770 /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  chmod 2770 /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; chmod 2775 /opt/eprints3&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you already have an EPrints repository&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;changing &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;permissions &lt;/ins&gt;is slightly &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;more difficult&lt;/ins&gt;.  In theory, it should suffice &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to just run (as the root user) the following command &lt;/ins&gt;to add group write permissions to all files and directories.  (This may take some time if you have a lot of items in your archive).   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you already have an EPrints repository changing &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the permission &lt;/del&gt;is slightly &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trickier&lt;/del&gt;.  In theory, it should suffice to add &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;just &lt;/del&gt;group write permissions to all files and directories.  (This may take some time if you have a lot of items in your archive).   &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  chmod -R g+w /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  chmod -R g+w /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;However, depending on how your permissions are &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;current &lt;/del&gt;set, this may not be sufficient and therefore is not recommended to follow &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;these &lt;/del&gt;instructions &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allowing you to retain the original Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt;, &lt;/del&gt;unless you have a good understanding of Linux filesystem permissions and how to use Apache&#039;s error logs to debug any issues that may result &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;from the change&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;However, depending on how your permissions are &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;currently &lt;/ins&gt;set, this may not be sufficient and therefore is not recommended to follow &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;instructions &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on this page &lt;/ins&gt;unless you have a good understanding of Linux filesystem permissions and how to use Apache&#039;s error logs to debug any issues that may result &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of following these instructions&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;4. If you previously configured to use &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt;, change these back to their original values (e.g. &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;,&lt;/del&gt;tt&amp;gt; /etc/httpd/conf/httpd.conf&amp;lt;/tt&amp;gt; for Red Hat based Linux and &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/etc/apache2/envvars&amp;lt;/tt&amp;gt; for Debian based Linux).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;4. If you previously configured to use &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt;, change these back to their original values (e.g. &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;tt&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/tt&amp;gt; for Red Hat based Linux and &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/etc/apache2/envvars&amp;lt;/tt&amp;gt; for Debian based Linux).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Check you &lt;/del&gt;Apache configuration is still valid and then restart Apache. (Use &amp;lt;tt&amp;gt;apache2ctl&amp;lt;/tt&amp;gt; rather than &amp;lt;tt&amp;gt;apachectl&amp;lt;/tt&amp;gt; for Debian based Linux).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;As the root user, check your &lt;/ins&gt;Apache configuration is still valid and then restart Apache. (Use &amp;lt;tt&amp;gt;apache2ctl&amp;lt;/tt&amp;gt; rather than &amp;lt;tt&amp;gt;apachectl&amp;lt;/tt&amp;gt; for Debian based Linux).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  apachectl configtest&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  apachectl configtest&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  apachectl restart&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  apachectl restart&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;6. Particularly if you are changing an existing EPrints repository &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rather than creating a new one&lt;/del&gt;, thoroughly test all &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;functionality for &lt;/del&gt;your repository.  In particular any functionality that interacts with other applications or services.  E.g.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;6. Particularly if you are changing an &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre-&lt;/ins&gt;existing EPrints repository, thoroughly test all your repository&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s functionality&lt;/ins&gt;.  In particular&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;any functionality that interacts with other applications or services.  E.g.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Logging into your repository, particularly if you don&#039;t use local authentication (e.g. you use LDAP, Shibboleth, etc.)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Logging into your repository, particularly if you don&#039;t &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;generally &lt;/ins&gt;use local authentication (e.g. you use LDAP, Shibboleth, etc.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Creating new eprint records.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Creating new eprint records.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Uploading and downloading documents.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Uploading and downloading documents.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Check that abstract pages update &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;are &lt;/del&gt;changing eprint records.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Check that abstract pages update &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;after &lt;/ins&gt;changing eprint records.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Check browse view menus update after running &amp;lt;tt&amp;gt;epadmin refresh_views&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Check browse view menus update after running &amp;lt;tt&amp;gt;epadmin refresh_views&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Searching for items.  Particularly those newly added since following these instructions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Searching for items.  Particularly those newly added since following these instructions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Starting and stopping the EPrints Indexer.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Starting and stopping the EPrints Indexer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Sending a test email.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Sending a test email.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Any bespoke &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;plugins/&lt;/del&gt;functionality you have added to your EPrints repository.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Any &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Bazaar plugins or &lt;/ins&gt;bespoke functionality you have added to your EPrints repository.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If everything is working as expected, then you are done.  If you &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hit an &lt;/del&gt;problems, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trying &lt;/del&gt;using Apache&#039;s error logs to debug and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fix &lt;/del&gt;the files with incorrect permissions.  If some functionality is still broken, then you may want to revert.  It should be sufficient to just change the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and group &lt;/del&gt;back to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; and restart Apache.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If everything is working as expected, then you are done.  If you &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;encounter any &lt;/ins&gt;problems, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;try &lt;/ins&gt;using Apache&#039;s error logs to debug and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;update &lt;/ins&gt;the files with incorrect permissions.  If some functionality is still broken, then you may want to revert.  It should be sufficient to just change the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; back to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; and restart Apache.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;diff=16210&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Fixed typo</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;diff=16210&amp;oldid=prev"/>
		<updated>2024-02-23T10:52:08Z</updated>

		<summary type="html">&lt;p&gt;Fixed typo&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:52, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Instructions for installing EPrints on [[Installing_EPrints_on_RHEL/Fedora/CentOS|Red Hat based]] or [[Installing_EPrints_on_Debian/Ubuntu|Debian based]] Linux operating systems advises that you reconfigure Apache&#039;s configuration to set the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; tather than &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; (for Red Hat based Linux) or &amp;lt;tt&amp;gt;www-data&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;data&lt;/del&gt;&amp;gt; (for Debian based Linux, where these are defined as &amp;lt;tt&amp;gt;APACHE_RUN_USER&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;APACHE_RUN_GROUP&amp;lt;/tt&amp;gt;).  It is not absolutely necessary to do this but if you choose not to change this the alternative configuration is more complex and may still lead to certain EPrints functionality not working as expected if at all if yor repository has certain plugins installed or uses particular bespoke configuration.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Instructions for installing EPrints on [[Installing_EPrints_on_RHEL/Fedora/CentOS|Red Hat based]] or [[Installing_EPrints_on_Debian/Ubuntu|Debian based]] Linux operating systems advises that you reconfigure Apache&#039;s configuration to set the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; tather than &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; (for Red Hat based Linux) or &amp;lt;tt&amp;gt;www-data&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tt&lt;/ins&gt;&amp;gt; (for Debian based Linux, where these are defined as &amp;lt;tt&amp;gt;APACHE_RUN_USER&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;APACHE_RUN_GROUP&amp;lt;/tt&amp;gt;).  It is not absolutely necessary to do this but if you choose not to change this the alternative configuration is more complex and may still lead to certain EPrints functionality not working as expected if at all if yor repository has certain plugins installed or uses particular bespoke configuration.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you choose to not configure &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; you need to perform the following steps instead.  If you want to make these changes to an existing EPrints repository, it is sytrongly recommend that you do this on a pre-production test system first, so you can fix any snags.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you choose to not configure &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; you need to perform the following steps instead.  If you want to make these changes to an existing EPrints repository, it is sytrongly recommend that you do this on a pre-production test system first, so you can fix any snags.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;diff=16209&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added instructions for installing EPrints without changing Apache&#039;s User or Group</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;diff=16209&amp;oldid=prev"/>
		<updated>2024-02-23T10:51:23Z</updated>

		<summary type="html">&lt;p&gt;Added instructions for installing EPrints without changing Apache&amp;#039;s User or Group&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Instructions for installing EPrints on [[Installing_EPrints_on_RHEL/Fedora/CentOS|Red Hat based]] or [[Installing_EPrints_on_Debian/Ubuntu|Debian based]] Linux operating systems advises that you reconfigure Apache&amp;#039;s configuration to set the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; tather than &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; (for Red Hat based Linux) or &amp;lt;tt&amp;gt;www-data&amp;lt;/data&amp;gt; (for Debian based Linux, where these are defined as &amp;lt;tt&amp;gt;APACHE_RUN_USER&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;APACHE_RUN_GROUP&amp;lt;/tt&amp;gt;).  It is not absolutely necessary to do this but if you choose not to change this the alternative configuration is more complex and may still lead to certain EPrints functionality not working as expected if at all if yor repository has certain plugins installed or uses particular bespoke configuration.&lt;br /&gt;
&lt;br /&gt;
If you choose to not configure &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; you need to perform the following steps instead.  If you want to make these changes to an existing EPrints repository, it is sytrongly recommend that you do this on a pre-production test system first, so you can fix any snags.&lt;br /&gt;
&lt;br /&gt;
1. Add the &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; user to the &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; group, (depending on the Linux OS you are running).&lt;br /&gt;
 usermod -a -G apache eprints&lt;br /&gt;
 usermod -a -G www-data eprints&lt;br /&gt;
&lt;br /&gt;
2. Add the &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; user, (depending on the Linux OS you are running), to the &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; group.&lt;br /&gt;
 usermod -a -G eprints apache&lt;br /&gt;
 usermod -a -G eprints www-data&lt;br /&gt;
&lt;br /&gt;
3. Ensure that all the files and directories have the same permissions for the group as for the user.  If you are just starting you installation of EPrints this can be achieved with one of the following command depending on whether you want other users to have read access to EPrints code, configuration and data.  Choose the former if you don&amp;#039;t want other users to have read access&lt;br /&gt;
 chmod 2770 /opt/eprints3&lt;br /&gt;
 chmod 2775 /opt/eprints3&lt;br /&gt;
If you already have an EPrints repository changing the permission is slightly trickier.  In theory, it should suffice to add just group write permissions to all files and directories.  (This may take some time if you have a lot of items in your archive).  &lt;br /&gt;
 chmod -R g+w /opt/eprints3&lt;br /&gt;
However, depending on how your permissions are current set, this may not be sufficient and therefore is not recommended to follow these instructions allowing you to retain the original Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt;, unless you have a good understanding of Linux filesystem permissions and how to use Apache&amp;#039;s error logs to debug any issues that may result from the change.&lt;br /&gt;
&lt;br /&gt;
4. If you previously configured to use &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; as the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt;, change these back to their original values (e.g. &amp;lt;tt&amp;gt;apache&amp;lt;/tt&amp;gt; in ,tt&amp;gt; /etc/httpd/conf/httpd.conf&amp;lt;/tt&amp;gt; for Red Hat based Linux and &amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/etc/apache2/envvars&amp;lt;/tt&amp;gt; for Debian based Linux).&lt;br /&gt;
&lt;br /&gt;
5. Check you Apache configuration is still valid and then restart Apache. (Use &amp;lt;tt&amp;gt;apache2ctl&amp;lt;/tt&amp;gt; rather than &amp;lt;tt&amp;gt;apachectl&amp;lt;/tt&amp;gt; for Debian based Linux).&lt;br /&gt;
 apachectl configtest&lt;br /&gt;
 apachectl restart&lt;br /&gt;
&lt;br /&gt;
6. Particularly if you are changing an existing EPrints repository rather than creating a new one, thoroughly test all functionality for your repository.  In particular any functionality that interacts with other applications or services.  E.g. &lt;br /&gt;
* Logging into your repository, particularly if you don&amp;#039;t use local authentication (e.g. you use LDAP, Shibboleth, etc.)&lt;br /&gt;
* Creating new eprint records.&lt;br /&gt;
* Uploading and downloading documents.&lt;br /&gt;
* Check that abstract pages update are changing eprint records.&lt;br /&gt;
* Check browse view menus update after running &amp;lt;tt&amp;gt;epadmin refresh_views&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Searching for items.  Particularly those newly added since following these instructions.&lt;br /&gt;
* Adding/editing phrases in the phrase editor.&lt;br /&gt;
* Starting and stopping the EPrints Indexer.&lt;br /&gt;
* Sending a test email.&lt;br /&gt;
* Any bespoke plugins/functionality you have added to your EPrints repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If everything is working as expected, then you are done.  If you hit an problems, trying using Apache&amp;#039;s error logs to debug and fix the files with incorrect permissions.  If some functionality is still broken, then you may want to revert.  It should be sufficient to just change the Apache &amp;lt;tt&amp;gt;User&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Group&amp;lt;/tt&amp;gt; and group back to &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt; and restart Apache.&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
</feed>