<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ruby, Rails, OSX and Linux fun &#187; filevault</title>
	<atom:link href="http://www.frederico-araujo.com/tag/filevault/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frederico-araujo.com</link>
	<description>Ruby, Rails, OSX and linux sysadmin</description>
	<lastBuildDate>Thu, 02 Sep 2010 08:13:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting Filevault on a HFS+ Case-Sensitive Filesystem</title>
		<link>http://www.frederico-araujo.com/2008/11/04/getting-filevault-on-a-hfs-case-sensitive-filesystem/</link>
		<comments>http://www.frederico-araujo.com/2008/11/04/getting-filevault-on-a-hfs-case-sensitive-filesystem/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 13:55:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[osx]]></category>
		<category><![CDATA[filevault]]></category>

		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=45</guid>
		<description><![CDATA[The OSX file vault feature will only let you activate it on your current home folder if you have a HFS+ case-insensitive file system. It will not let you activate it on a current HFS case-sensitive.
But there is a trick, when creating a &#8220;new&#8221; clean user it will allow you to enable filevault for that [...]]]></description>
			<content:encoded><![CDATA[<p>The OSX file vault feature will only let you activate it on your current home folder if you have a HFS+ case-insensitive file system. It will not let you activate it on a current HFS case-sensitive.</p>
<p>But there is a trick, when creating a &#8220;new&#8221; clean user it will allow you to enable filevault for that new user.</p>
<p>So, here is how you do it.</p>
<p>But before you try, make sure you have enough free space, try to get rid of huge files and folders, backup your data. (in this case, we will copy your data, so you will have 2 copies for safety)</p>
<p>Also clean your applications cache, such as firefox cache, camino, opera,<br />
~/Library/caches/com.apple.Safari/Webpage\ Previews/ , etc&#8230;: and close most of your applications.</p>
<p>$ cd ~/Library/Caches</p>
<p>$ find ./ -name &#8220;Cache&#8221; -exec rm -rf {} \;</p>
<p>$ rm -rf ~/Library/Caches/com.apple.Safari/Webpage\ Previews/Incoming/*</p>
<p>Steps</p>
<p>1. Create another admin user, for example &#8220;admin&#8221;, with administrator privileges</p>
<p>2. login as that user.</p>
<p>3. move your old user folder.</p>
<p>$ cd /Users/</p>
<p>$ sudo mv myusername myusername.bak</p>
<p>3. delete your old user from the &#8220;Accounts&#8221; preferences pane.</p>
<p>4. then create it again and check the option to use filevault</p>
<p>5. Logout from &#8220;admin&#8221;  and login again as newuser.</p>
<p>6. Now copy the old data to your home folder. ( will take a very long time for that)<br />
update: You must use rsync instead of cp, so that you also copy your VERY important hidden files. such as .ssh .gnupg .vimrc .gem .gitconfig  etc..</p>
<p>$ sudo /usr/bin/rsync -av /Users/myusername.bak/ /Users/myusername/</p>
<p># watch out if you have files that should not change the ownership, such as server backups.<br />
$ sudo chown -R  myusername ~/</p>
<p>7. Logout and login again, for your preferences to take effect</p>
<p>8. If everything looks fine, you might just delete the backup folder.</p>
<p>$ sudo rm -rf /Users/myusername.bak</p>
<p>if you have any confusions let me know in comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frederico-araujo.com/2008/11/04/getting-filevault-on-a-hfs-case-sensitive-filesystem/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
