<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.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.eprints.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.eprints.org/w/index.php?title=Configuring_Apache_without_changing_User_and_Group&amp;action=history"/>
	<updated>2026-04-21T14:56:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.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.eprints.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 class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; 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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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'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 class=&quot;diffchange diffchange-inline&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;).&amp;#160; It is not absolutely necessary to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;do this &lt;/del&gt;but if you choose not to &lt;del class=&quot;diffchange diffchange-inline&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 class=&quot;diffchange diffchange-inline&quot;&gt;if at all if yor repository has certain &lt;/del&gt;plugins &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;installed &lt;/del&gt;or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;uses particular &lt;/del&gt;bespoke configuration.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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'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 class=&quot;diffchange diffchange-inline&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 class=&quot;diffchange diffchange-inline&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;).&amp;#160; It is not absolutely necessary to &lt;ins class=&quot;diffchange diffchange-inline&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 class=&quot;diffchange diffchange-inline&quot;&gt;do &lt;/ins&gt;this&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;the alternative configuration is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;somewhat &lt;/ins&gt;more complex and may still lead to certain EPrints functionality not working as expected&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;#160; Particularly functionality provided by Bazaar &lt;/ins&gt;plugins or &lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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.&amp;#160; If you want to make these changes to an existing EPrints repository, it is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sytrongly recommend &lt;/del&gt;that you do this on a pre-production test system first&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, so &lt;/del&gt;you &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;can &lt;/del&gt;fix any snags.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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.&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;If you want to make these changes to an existing EPrints repository, it is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;strongly recommended &lt;/ins&gt;that you do this on a pre-production &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or &lt;/ins&gt;test system first&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.''' This will allow &lt;/ins&gt;you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;to test and &lt;/ins&gt;fix any snags &lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G apache eprints&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G apache eprints&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G www-data eprints&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G www-data eprints&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G eprints apache&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G eprints apache&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G eprints www-data&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; usermod -a -G eprints www-data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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.&amp;#160; If you are just starting &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;you &lt;/del&gt;installation &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;of EPrints &lt;/del&gt;this can be achieved &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with &lt;/del&gt;one of the following command &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;depending on whether &lt;/del&gt;you want other &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;users &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;have &lt;/del&gt;read &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;access to &lt;/del&gt;EPrints code, configuration &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and data&lt;/del&gt;.&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Choose the former if you don't want other users to have read access&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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.&amp;#160; If you are just starting &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;your EPrints &lt;/ins&gt;installation this can be achieved &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;by running &lt;/ins&gt;one of the following &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;commands as the root user.&amp;#160; (The former &lt;/ins&gt;command &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is already in the main installation instructions.&amp;#160; Use the latter command if &lt;/ins&gt;you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;do not &lt;/ins&gt;want &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;users &lt;/ins&gt;other to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;be able to &lt;/ins&gt;read EPrints code, configuration &lt;ins class=&quot;diffchange diffchange-inline&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;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chmod 2775 /opt/eprints3&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; chmod 2770 /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; chmod 2770 /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt; chmod 2775 /opt/eprints3&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;changing &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;permissions &lt;/ins&gt;is slightly &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;more difficult&lt;/ins&gt;.&amp;#160; In theory, it should suffice &lt;ins class=&quot;diffchange diffchange-inline&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.&amp;#160; (This may take some time if you have a lot of items in your archive).&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;the permission &lt;/del&gt;is slightly &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;trickier&lt;/del&gt;.&amp;#160; In theory, it should suffice to add &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;just &lt;/del&gt;group write permissions to all files and directories.&amp;#160; (This may take some time if you have a lot of items in your archive).&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; chmod -R g+w /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; chmod -R g+w /opt/eprints3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;current &lt;/del&gt;set, this may not be sufficient and therefore is not recommended to follow &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;these &lt;/del&gt;instructions &lt;del class=&quot;diffchange diffchange-inline&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's error logs to debug any issues that may result &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;from the change&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;currently &lt;/ins&gt;set, this may not be sufficient and therefore is not recommended to follow &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;instructions &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;on this page &lt;/ins&gt;unless you have a good understanding of Linux filesystem permissions and how to use Apache's error logs to debug any issues that may result &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of following these instructions&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; apachectl configtest&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; apachectl configtest&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; apachectl restart&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; apachectl restart&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;rather than creating a new one&lt;/del&gt;, thoroughly test all &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;functionality for &lt;/del&gt;your repository.&amp;#160; In particular any functionality that interacts with other applications or services.&amp;#160; E.g. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;pre-&lt;/ins&gt;existing EPrints repository, thoroughly test all your repository&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'s functionality&lt;/ins&gt;.&amp;#160; In particular&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;any functionality that interacts with other applications or services.&amp;#160; E.g. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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't use local authentication (e.g. you use LDAP, Shibboleth, etc.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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't &lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;are &lt;/del&gt;changing eprint records.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;after &lt;/ins&gt;changing eprint records.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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.&amp;#160; Particularly those newly added since following these instructions.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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.&amp;#160; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;plugins/&lt;/del&gt;functionality you have added to your EPrints repository.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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.&amp;#160; If you &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;hit an &lt;/del&gt;problems, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;trying &lt;/del&gt;using Apache's error logs to debug and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fix &lt;/del&gt;the files with incorrect permissions.&amp;#160; If some functionality is still broken, then you may want to revert.&amp;#160; 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 class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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.&amp;#160; If you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;encounter any &lt;/ins&gt;problems, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;try &lt;/ins&gt;using Apache's error logs to debug and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;update &lt;/ins&gt;the files with incorrect permissions.&amp;#160; If some functionality is still broken, then you may want to revert.&amp;#160; 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.eprints.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.eprints.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 class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; 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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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'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 class=&quot;diffchange diffchange-inline&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;).&amp;#160; 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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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'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 class=&quot;diffchange diffchange-inline&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;).&amp;#160; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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.&amp;#160; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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.&amp;#160; 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.eprints.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's User or Group</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.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'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'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'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'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'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>