<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Home_directory_stuff</id>
		<title>Home directory stuff - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Home_directory_stuff"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Home_directory_stuff&amp;action=history"/>
		<updated>2026-05-06T16:42:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Home_directory_stuff&amp;diff=3576&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;text&quot;&gt; #This sets /home2’s labels to be same as /home  semanage fcontext -a -e /home /home2  #This updates the labels of /home2, with the –R option doing it...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Home_directory_stuff&amp;diff=3576&amp;oldid=prev"/>
				<updated>2016-08-18T12:25:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt; #This sets /home2’s labels to be same as /home  semanage fcontext -a -e /home /home2  #This updates the labels of /home2, with the –R option doing it...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#This sets /home2’s labels to be same as /home&lt;br /&gt;
&lt;br /&gt;
semanage fcontext -a -e /home /home2&lt;br /&gt;
&lt;br /&gt;
#This updates the labels of /home2, with the –R option doing it recursively for existing subdirectories.&lt;br /&gt;
&lt;br /&gt;
restorecon –R /home2&lt;br /&gt;
&lt;br /&gt;
Afterwards, existing and newly created user home directories will be labeled correctly.  If you’re interested in seeing how semanage correctly labels contents of home directories, check out /etc/selinux/targeted/modules/active/homedir_template.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>