<?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>chealion.ca : Home of Micheal Jones &#187; tips</title>
	<atom:link href="http://chealion.ca/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://chealion.ca</link>
	<description>polluting the internet since tomorrow</description>
	<lastBuildDate>Tue, 24 Aug 2010 03:55:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mail.app, Outlook, Attachments and Disappearing Text</title>
		<link>http://chealion.ca/2010/06/mail-app-outlook-attachments-and-disappearing-text/</link>
		<comments>http://chealion.ca/2010/06/mail-app-outlook-attachments-and-disappearing-text/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 23:57:59 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=343</guid>
		<description><![CDATA[There&#8217;s a particularly nasty implementation detail that doesn&#8217;t seem to come up often but is just waiting to bite just about every Mac user in the ass. Mail.app allows users to attach files inline allowing them to be part of the flow of the text or in the case of one of my users be [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a particularly nasty implementation detail that doesn&#8217;t seem to come up often but is just waiting to bite just about every Mac user in the ass. Mail.app allows users to attach files inline allowing them to be part of the flow of the text or in the case of one of my users be right alongside the paragraph talking about the changes in that paragraph. Or like me, right below the email you&#8217;re sending and above the replied emails because of Mail.app&#8217;s defaulting to top posting. The issue isn&#8217;t being able to put attachments inline, but the fact that by default Mail.app will encode the attachment in the same spot in the email file causing other email clients to see the rest of the email as a set of attachments.</p>

<p>The fix: Make sure &#8220;Always Insert Attachments at End of Message&#8221; is checked off (preference key is AttachAtEnd - boolean for you MCX minded folk) and you can now attach inline as you would normally want to without having Outlook eat your message.</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/Mail.app_.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/Mail.app_.jpg" alt="Mail.app.jpg" title="Mail.app.jpg" border="0" width="626" height="171" /></a></p>

<p>Thunderbird will display the text correctly, but you&#8217;ll lose it and it will only appear as an attachment once that email is forwarded or replied to: (Part 1.1.3 is the text &#8220;There&#8217;s an attachment&#8221;). You&#8217;ll also notice the horizontal rule separating between the different HTML portions of the email.</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/Thunderbird.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/Thunderbird.jpg" alt="Thunderbird.jpg" title="Thunderbird.jpg" border="0" width="506" height="310" /></a></p>

<p>What program completely falls flat on it&#8217;s face is Outlook; it just puts all attachments off to the side and you have no idea what&#8217;s in the those ATT documents and your client sure as hell isn&#8217;t going to read them. So you&#8217;ve sent the email, the email was successfully sent, the text will be visible on their webmail systems, on their mobile device (Blackberry or iPhone), and even visible in other mail clients but because it&#8217;s technically an attachment Outlook won&#8217;t display it inline by default. (For the same reason they won&#8217;t show images by default in emails - the cookie tracking and that it&#8217;s a great attack vector)</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/Outlook.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/Outlook.jpg" alt="Outlook.jpg" title="Outlook.jpg" border="0" width="454" height="175" /></a></p>

<p>Of note, this only occurs when sending from Mail.app. Outlook can attach items inline and have no issue as it attaches the images at the end of the email.</p>

<p>Correct view:</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/OutlookCorrect.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/OutlookCorrect.jpg" alt="OutlookCorrect.jpg" title="OutlookCorrect.jpg" border="0" width="641" height="313" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2010/06/mail-app-outlook-attachments-and-disappearing-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iCal Server Multiple / Sub Calendars and Sunbird</title>
		<link>http://chealion.ca/2009/08/ical-server-multiple-sub-calendars-and-sunbird/</link>
		<comments>http://chealion.ca/2009/08/ical-server-multiple-sub-calendars-and-sunbird/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 18:51:28 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[ical-server]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[sunbird]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=260</guid>
		<description><![CDATA[At my workplace we use iCal Server running on Mac OS X 10.5 Server to share several calendars all under our one staff group. With iCal, so long as the group is delegated to be shown on the user&#8217;s accounts you can see all the calendars but with Sunbird you only get to see the [...]]]></description>
			<content:encoded><![CDATA[<p>At my workplace we use iCal Server running on Mac OS X 10.5 Server to share several calendars all under our one staff group. With iCal, so long as the group is delegated to be shown on the user&#8217;s accounts you can see all the calendars but with Sunbird you only get to see the first calendar.</p>

<p>Before going further it&#8217;s worth noting how to delegate a group calendar so a user can view it without manually adding the group calendar as it&#8217;s own calendar (if using Delegates instead of multiple calendar &#8220;accounts&#8221; (same credentials, different calendars) is your aim). To do so you have to add the group calendar as a normal account in order to set it up, and then set up delegation as you would for a normal account. The important URL to know for using a group calendar is <code>http://FQDN.OF.SERVER:8008/principals/groups/groupname</code> (as always replace http with https and 8008 with 8443 if you are using SSL).</p>

<p>Sunbird uses slightly different URLs than what you use in iCal to start with, where in iCal an example URL might be <code>http://FQDN.OF.SERVER:8008/principals/users/USERNAME</code> or <code>http://FQDN.OF.SERVER:8008/principals/groups/GROUPNAME</code>. The corresponding URL to use in Sunbird is <code>http://FQDN.OF.SERVER:8008/calendars/users/USERNAME/calendar</code> or <code>http://FQDN.OF.SERVER:8008/calendars/groups/GROUPNAME/calendar</code></p>

<p>That&#8217;s great for adding a single calendar but what if a user or a group has multiple calendars under their one account? iCal will automatically show them as a group whereas Sunbird requires you to add each and everyone that you wish to have show up.</p>

<p>You can specify a &#8220;sub-calendar&#8221; to subscribe to in Mozilla Sunbird by specifying the unique ID of that calendar instead in the form of the url <code>http://FQDN.OF.SERVER:8008/calendars/__uids__/UID_OF_GROUP_OR_USER/UID_OF_SUB_CALENDAR</code> (Newer versions of Lightning will take <code>http://FQDN.OF.SERVER:8008/users/USERNAME/UID_OF_SUB_CALENDAR</code>). Note the lack of <code>calendar</code> at the end of the URL. To determine the UIDs in question it&#8217;s easiest using iCal, if you click on a calendar and press Command-I (File -> Get Info) you can see part of the CalDAV URL at the bottom of the sheet that appears.</p>

<p>You will see <code>calendars/__uids__/UNIQUE_ID/ONLY_PART_OF_THE_UNIQUE_ID</code> because the label the text is placed into is not big enough to fit the URL. Because you can&#8217;t get the full URL from there it&#8217;s easiest to go to the iCal Server itself and navigate to <code>/Library/CalendarServer/Documents/calendars/__uids__/</code> (you&#8217;ll need administrator privileges to view this). From there find the folder named the same as the UNIQUE&#95;ID portion of the URL and open it to find a folder with the UNIQUE&#95;ID of the &#8220;sub-calendar&#8221;. You can now put the URL together and use that in Sunbird to view that additional calendar.</p>

<p>Example URL of a sub-calendar in the group:<br />
     <code>https://FQDN.OF.SERVER:8443/calendars/__uids__/FA26C8C6-5B78-4AB0-AE73-0E9576574EBB/F74174B7-380C-4630-9192-9025F4C691A2</code></p>

<p><strong>EDIT:</strong></p>

<p>Sub-calendars also work at https://FQDN.OF.SERVER:8443/calendars/users/USERNAME/UID_OF_SUBCALENDAR</p>

<p>Sources Used:</p>

<ul>
<li><a href="http://www.macosxhints.com/article.php?story=20080410162942908">MacOSXHints.com - Add group calendars to iCal Server</a>  </li>
<li><a href="http://discussions.apple.com/thread.jspa?messageID=6865452">Apple Support Discussions - Correct URLs for Sunbird</a></li>
<li><a href="http://discussions.apple.com/thread.jspa?threadID=1666801&amp;tstart=-1">Apple Support Discussions - iCal + Sunbird</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2009/08/ical-server-multiple-sub-calendars-and-sunbird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aborting On the Second Disk on a Restore</title>
		<link>http://chealion.ca/2009/02/aborting-on-the-second-disk-on-a-restore/</link>
		<comments>http://chealion.ca/2009/02/aborting-on-the-second-disk-on-a-restore/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 21:22:08 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[tiger]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=222</guid>
		<description><![CDATA[Scenario: Client attempts to restore their iMac using their Software Restore disks (10.4.10) but the second disk containing iLife for some reason refuses to be recognized. iLife is already installed and the OS has been installed but the Installer will come up everytime you attempt to start up the computer. The workaround: Start up the [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario: Client attempts to restore their iMac using their Software Restore disks (10.4.10) but the second disk containing iLife for some reason refuses to be recognized. iLife is already installed and the OS has been installed but the Installer will come up everytime you attempt to start up the computer.</p>

<p>The workaround: Start up the computer in single user mode. Then use the following commands (not the ones with ## preceding them however)</p>

<pre><code>## Mount the filesystem so you can read and write to it
mount -uw /
## The files we want live in /var/db
cd /var/db/
## Files that tell us it's a multi disk install
rm .AppleMultiInstall*
## File that tells us to pop up the registration dialog
rm .AppleCustomMac
## Something else to do with setup (Locale Setup?)
rm .locsetup.plist  
</code></pre>

<p>I removed all 3 files because they looked like the most likely culprits but gut tells me the .AppleMultiInstall* files are the only ones that <em>have</em> to be removed but I wasn&#8217;t able to test it.</p>

<p>You&#8217;re now able to boot the computer just fine - it&#8217;s imperative however to be sure that you know what has been installed as you&#8217;re interrupting the installation. Because in this case I knew that only iLife was on the second disk (in terms of what had been selected to be installed) I didn&#8217;t go ahead with reinstalling the OS to be on the safe side.</p>

<p>This has been tested on Mac OS X Tiger 10.4, it should be identical for Mac OS X Leopard 10.5 as well but I&#8217;m not 110% positive.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2009/02/aborting-on-the-second-disk-on-a-restore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Restoration&#160;: Restoring Home Screen Layout (Pre 3.0)</title>
		<link>http://chealion.ca/2009/02/iphone-restoration-restoring-home-screen-layout/</link>
		<comments>http://chealion.ca/2009/02/iphone-restoration-restoring-home-screen-layout/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 22:57:01 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=213</guid>
		<description><![CDATA[After having gone through 3 iPhones and countless restores of different iPhones and iPod touches I had to get to the bottom of how to restore my layout of my apps on my home screens. The Cause When you restore your iPhone / iPod touch to it&#8217;s factory defaults the device is not connected to [...]]]></description>
			<content:encoded><![CDATA[<p>After having gone through 3 iPhones and countless restores of different iPhones and iPod touches I had to get to the bottom of how to restore my layout of my apps on my home screens.</p>

<h2>The Cause</h2>

<p>When you restore your iPhone / iPod touch to it&#8217;s factory defaults the device is not connected to an iTunes account. When you restore it from your backup (to put your apps and info back on) it will load anything that does not require authorization through the iTunes store (with the exception of free apps - though purchased from the iTunes Store they seem to get loaded anyway). So when you finish a Restore From Backup the first time around it will not load any paid apps or music until it&#8217;s authorized. It does it&#8217;s authorizations seemingly right after you&#8217;ve restored it as it accesses the iTunes Store as if it was just plugged in. Why that has no effect on purchased music I&#8217;ve no idea.</p>

<p>In the end you&#8217;re left with a phone / iPod that has only part of the data it had on it before and requires you to press Sync again to put your paid applications and purchased music on to it. The biggest issue here is that if you have any data stored in that application, like say Things, or high scores from a game, or just find reorganizing your home layout frustrating you&#8217;re out of luck. The paid apps are installed anew, and placed one at a time into the earliest empty spot on your home screens. Frustrating. Thankfully there is a workaround.</p>

<h2>The Workaround</h2>

<ol>
<li>Perform a backup before you restore.</li>
<li>After restoring your Phone to the whichever OS version</li>
<li>Restore from your backup (you can cancel syncing music when this part finishes - it will start up again after the next step)</li>
<li>Restore once more - you may see two backups to choose from as it would have created a backup after the restoring. Choose the one that would have a timestamp just before you do the restore.</li>
</ol>

<p>Annoying because a restore from backup may take as long as 5 or 6 minutes but at least you aren&#8217;t stuck reorganizing your applications the way you wanted them again.</p>

<p>EDIT: From what I can gather 3.0 has fixed this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2009/02/iphone-restoration-restoring-home-screen-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Mail.app&#8217;s To Do Mailboxes and Quasi-Debugging Mailbox Creation</title>
		<link>http://chealion.ca/2008/12/disabling-mailapps-to-do-mailboxes-and-quasi-debugging-mailbox-creation/</link>
		<comments>http://chealion.ca/2008/12/disabling-mailapps-to-do-mailboxes-and-quasi-debugging-mailbox-creation/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 21:02:11 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[to dos]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=191</guid>
		<description><![CDATA[Leopard&#8217;s Mail.app introduced some nice speed improvements over Tiger&#8217;s version but introduced one of the most annoying features (IMNSHO) in Leopard. System Wide &#8220;To Dos&#8221; in a garish Marker Felt font intent on polluting my IMAP mailboxes with Apple Mail To Do or ToDos.mbox seemingly placed randomly (they aren&#8217;t but when your Prefixes differ from [...]]]></description>
			<content:encoded><![CDATA[<p>Leopard&#8217;s Mail.app introduced some nice speed improvements over Tiger&#8217;s version but introduced one of the most annoying features (IMNSHO) in Leopard. System Wide &#8220;To Dos&#8221; in a garish Marker Felt font intent on polluting my IMAP mailboxes with Apple Mail To Do or ToDos.mbox seemingly placed randomly (they aren&#8217;t but when your Prefixes differ from account to account it seems random at first). Additionally when I moved servers at my <a href="http://joyent.us">host</a> my accounts on my computer started misbehaving creating nested mailboxes continuously. In the end it&#8217;s mostly user error but I&#8217;m hoping these tips on how to disable the To Do mailbox (see the edit for the easy way) and force Mail to look properly for the right mailbox will help someone jump to the fix that will stick.</p>

<h2>Mailbox Setup Reference</h2>

<p>To start with for reference I have several computers and an iPhone that share 4 IMAP accounts (GMail, my webhost and one from work). The main reason I use IMAP is that it keeps them in sync - the backup on the server is just gravy. By default Mail.app uses a mailbox called &#8220;Sent Messages&#8221; and &#8220;Deleted Messages&#8221; for it&#8217;s Sent and Trash mailboxes. If they do not exist it will attempt to create them - which isn&#8217;t entirely interoperable with some webmail clients out of the box (eg. Squirrelmail and RoundCube don&#8217;t use those mailboxes by default) or other email clients such as Thunderbird (which doesn&#8217;t allow you to change your Trash mailbox in Account Settings so you can&#8217;t tell it to use Deleted Messages as well).</p>

<h2>Changing Your Sent and Trash Mailboxes Normally</h2>

<p>In Mail.app you can click on a mailbox (eg. Trash Man O&#8217; Doom) you&#8217;ve created and then under the Mailbox menu scroll down to &#8220;Use This Mailbox For&#8221; and set the mailbox for what you would like to use it for Drafts, Sent, Trash or as the Junk Mailbox. Nice, easy and it nearly always works. (I&#8217;ve had it not work once and that wasn&#8217;t Mail&#8217;s fault)</p>

<h2>To Do Mailboxes Are From Hell</h2>

<p>You may have noticed above that there was no option for a &#8220;To Do&#8221; mailbox or even an option anywhere to disable System wide To Dos which means that once iCal is opened or any To Do is intentionally or accidentally created Mail.app will dutifully create Apple Mail To Do mailboxes for each account you have following the IMAP Prefix if necessary. On my iPhone where To Dos are not even recognized it means I&#8217;m always seeing a completely useless Apple Mail To Do mailbox somewhere in the hierarchy of my mailboxes.</p>

<p>Following the publishing of a <a href="http://www.macosxhints.com/article.php?story=20080327194950551">hint</a> on <a href="http://macosxhints.com">MacOSXHints.com</a> that described the key used in Mail.app&#8217;s Preference file (com.apple.mail.plist) I decided to go digging to see what else was stored there. I discovered that by setting the value to nothing (as in just leave it blank) that To Dos were effectively disabled on that account - I could then delete the Apple Mail To Do mailbox on the account. By doing the same change on the other computers (4 accounts * 4 computers = tedious) I was then Apple Mail To Do mailbox free!</p>

<p>**EDIT: According to a newly published <a href="http://www.macosxhints.com/article.php?story=20090115191259125">hint</a> there&#8217;s another way to avoid ToDo mailboxes being recreated by changing the NewNoteToDoAccount key to the ID of your local account. After deleting all my To Do mailboxes this was auto set so I didn&#8217;t notice that it had changed.</p>

<p>**EDIT 2: As far as I can tell this is akin to setting Create Notes &amp; To Do&#8217;s in: to On My Mac in the Composing section of the Mail Preferences - which is FAR easier than messing with the plist file.</p>

<h2>Multiplying Inboxes</h2>

<p>When I changed servers at my webhost, Mail.app got confused about the IMAP Prefixes (I believe the new server was telling Mail.app INBOX and the old server was saying /, but I&#8217;m unsure) and decided to whenever I deleted a message to move the message to a new mailbox it would create at INBOX/Deleted Messages. Thinking it was an anomaly I would move the message where it should have gone and delete the newly create mailbox. The next time a message would be deleted (wasn&#8217;t necessarily on that computer) it would recreate that mailbox but oddly at INBOX/INBOX/Deleted Messages and the cycle would keep repeating. This was the one time that selecting the Trash Mailbox (Deleted Messages at / and not in INBOX) and telling it to use it failed.</p>

<p>Using the knowledge that the mailbox information is stored in com.apple.mail.plist I edited the offending section setting it properly and haven&#8217;t had a problem with it since - it was a good way of having somewhere to write in &#8220;I want my Trash to go here&#8221;. So it&#8217;s useful for making changes and checking to see what path that Mail.app is looking for when it shouldn&#8217;t be looking at that location (especially via SSH when VNC is unavailable).</p>

<p>So my frustration ends with that to edit a binary plist the only Apple provided tool is the new Property List Editor 3.0 which is not an optimum solution for editing - it doesn&#8217;t provide searching and I find that the extra work using plutil to convert to xml instead of binary and back so I can use TextMate not worth it in the end. Much of what you need to do is in Mail.app itself but when Mail.app is acting up, it&#8217;s good to know where you can go to set it back straight and stop the cluttering of your mailbox hierarchies.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2008/12/disabling-mailapps-to-do-mailboxes-and-quasi-debugging-mailbox-creation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Alert: Flash Player 10.0.12.36 Installer Opens Up Root Home Folder</title>
		<link>http://chealion.ca/2008/12/alert-flash-player-1001236-installer-opens-up-root-home-folder/</link>
		<comments>http://chealion.ca/2008/12/alert-flash-player-1001236-installer-opens-up-root-home-folder/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 21:21:30 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=189</guid>
		<description><![CDATA[I updated the current installation of Adobe Flash Player at work today over ARD and had several people ask me odd questions about why there was a Finder window with the word root for a title when they came in to login this morning. Needless to say that raised warning bells all over the place [...]]]></description>
			<content:encoded><![CDATA[<p>I updated the current installation of Adobe Flash Player at work today over ARD and had several people ask me odd questions about why there was a Finder window with the word root for a title when they came in to login this morning. Needless to say that raised warning bells all over the place for myself.</p>

<p>On checking the computers I noticed it occurred on every computer running Tiger and that every computer running Leopard did show the menu bar and said Finder was running but unlike Tiger it did not allow you to perform any actions beyond opening a menu. In Tiger you were essentially logged in as root into the Finder (and SystemUIServer) which gave you complete access to anything. The kicker is that the root user <strong>was not</strong> enabled on any of the computers.</p>

<p>Now in the big picture it&#8217;s mostly a non-issue because the following requirements have to be taken to see this edge case:</p>

<p>1) The workstation must be running 10.4.0-10.4.11 (Flash Player 10 doesn&#8217;t run on Mac OS X older than 10.4)
2) You must be using Apple Remote Desktop to install the package
3) You must ensure that you choose not to restart the computers in question. By default the package wants to restart the computer if no one is logged in (I assume it is to avoid this very situation). If someone is logged in however it doesn&#8217;t request a restart. The kicker is that if you select a group of machines and send it to install and one of them has a logged in user by default it does not ask you to restart.</p>

<p>If you check on the workstation you will see a Finder window open to root&#8217;s home folder - even if you don&#8217;t have the root user enabled (which I am of the opinion you shouldn&#8217;t especially with sudo available). Anything then opened via the Finder then runs as root as well (including Terminal).</p>

<p>So it&#8217;s easy to work around - either restart them all, or do it when you have users logged in (not ideal). If you do choose the username for the action to be done in ARD; the Finder window will open up as that user (quite possibly a local administrator account) so filing in a username there is not a workaround but much less dangerous than root access. Once the computer is restarted or someone logs in the issue goes away.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2008/12/alert-flash-player-1001236-installer-opens-up-root-home-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Cryptic Error&#160;: Invalid Recipient</title>
		<link>http://chealion.ca/2008/11/iphone-cryptic-error-invalid-recipient/</link>
		<comments>http://chealion.ca/2008/11/iphone-cryptic-error-invalid-recipient/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 03:08:49 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://chealion.ca/2008/11/iphone-cryptic-error-invalid-recipient/</guid>
		<description><![CDATA[While I really enjoy my iPhone&#8217;s ease of use it does spit some really cryptic errors sometimes. Namely one I&#8217;ve kept running into after changing over my domains to the new Shared Accelerators from Joyent which changed my SMTP information. For some reason my new SMTP information just wouldn&#8217;t sync to my iPhone correctly - [...]]]></description>
			<content:encoded><![CDATA[<p>While I really enjoy my iPhone&#8217;s ease of use it does spit some really cryptic errors sometimes. Namely one I&#8217;ve kept running into after changing over my domains to the new Shared Accelerators from Joyent which changed my SMTP information.</p>

<p>For some reason my new SMTP information just wouldn&#8217;t sync to my iPhone correctly - at best the server info will but the username and password were blank. I&#8217;m not 100% certain that the error is not exclusive to Joyebt&#8217;s email servers as I have seen it on another server as well - but when the username or password is wrong when attempting to send uemail you are presented with the following error:</p>

<p>&#8220;One of the recipient addresses was invalid&#8221;</p>

<p>Frustrating and exceedingly cryptic, but if I write it down then I might actually remember what the error means next time.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2008/11/iphone-cryptic-error-invalid-recipient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Showing Network Volumes in the Sidebar</title>
		<link>http://chealion.ca/2008/10/showing-network-volumes-in-the-sidebar/</link>
		<comments>http://chealion.ca/2008/10/showing-network-volumes-in-the-sidebar/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:49:07 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[aside]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[leopard]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=162</guid>
		<description><![CDATA[At work I have a user that really, really was having a hard time with Network Shares being moved to under Network in Leopard instead of showing up with the rest of the Volumes as they used to in Tiger. After a bit of digging around I found the following information but failed to figure [...]]]></description>
			<content:encoded><![CDATA[<p>At work I have a user that really, really was having a hard time with Network Shares being moved to under Network in Leopard instead of showing up with the rest of the Volumes as they used to in Tiger. After a bit of digging around I found the following information but failed to figure out how to create a script to automagically put Network shares in the Devices section of your sidebar but if you&#8217;re managing several computers it is possible to copy the com.apple.sidebarlists.plist file saving a lot of time.</p>

<p>When a network share is mounted in Leopard it does not appear in the Finder sidebar on it&#8217;s own - it is accessible via the server it is on if you have Connected Servers checked off in the Finder preferences. At work we have Back to My Mac, Connected Servers, and Bonjour Servers all hidden by default because they do little to assist anyone in finding anything. (Not to mention Back to My Mac isn&#8217;t used and Bonjour Servers lists every computer in the building). Your one alternative was to navigate back to the Computer (Command-Shift-C) and find your Volume there - instead what you can do is drag a Network share to your sidebar (or press Command-T when it is selected) where if mounted it will appear.</p>

<p>What I wanted to do was make it so they would automatically appear no matter what was connected - making the change more future proof. I ultimately failed to do so but I did learn the following tidbits about com.apple.sidebarlists.plist:</p>

<p>Under :systemitems:VolumesList (PlistBuddy syntax in use) you have a list of different hard drives and such that have been plugged into your computer - and if you happen to add a share to your sidebar this portion is what is changed.</p>

<p>Each Item consists of:</p>

<ul>
<li>An Alias (Data) - This is the base64 decoded form of a _CFULRAlias (identical to as seen in com.apple.dock.plist)</li>
<li>EntryType (Integer) - I found the codes for several different types:<br />
16: Special Access (Computer, iDisk, Network)<br />
261: Hard Drive (and ZFS Pool)<br />
517: Time Machine<br />
515: USB Drive</li>
<li>Icon (Data) - Again this is Hex but if you have a hex editor (such as <a href="http://ridiculousfish.com/hexfiend/">Hex Fiend</a>) but is the form &#8220;ImgR? SYSL fldr&#8221; (Default Finder Folder icon) with two fields separating each section. The default for a server icon is: 496d6752&#160;0000001c 00000000&#160;5359534c 00000010&#160;00000000&#160;73727672</li>
<li>Visibility (string)(optional) - Can be NeverVisible or AlwaysVisible. In this case we want AlwaysVisible.</li>
</ul>

<p>My big issue in not being able to figure it out was that I couldn&#8217;t figure out through research how to write the necessary alias data that is being looked for by com.apple.sidebarlists.plist . <a href="http://www.nntp.perl.org/group/perl.macosx/2007/10/msg10484.html">James Reynolds</a> created the <a href="http://firebolt.scl.utah.edu/public/dockit/dockit.c">dockit.c</a> program. Tweaking the program so it&#8217;s start and end points only included the CFURLAlias data (329 and 326 respectively) gave me the base64 encoded information that you see when editing an XML version of the Dock or Sidebarlists plists - but using PlistBuddy to input the information did no good.</p>

<p>So what I ended up doing instead was to use one computer to mount all the possible shares put them in the sidebar (since they&#8217;re hidden when not mounted it&#8217;s fine having shares that wouldn&#8217;t even be mounted) and then push out the changes via MCX. It&#8217;s not perfect but it works and it will make finding the shares much easier. I&#8217;m hoping this entry helps someone else on their search for getting such a script created.</p>

<p>Thanks to the following places for information:<br />
<a href="http://www.cocoadev.com/index.pl?SideBarContent">CocoaDev</a> (note: The Alias data when viewed in an xml plist is base64 encoded - but not in Property List Editor)<br />
<a href="http://www.jeremyforpresident.com/archives/38">JeremyForPresident</a><br />
<a href="http://www.macosxhints.com/article.php?story=20071117055841714">MacOSXHints</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2008/10/showing-network-volumes-in-the-sidebar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaunchBar Snippets</title>
		<link>http://chealion.ca/2008/10/launchbar-snippets/</link>
		<comments>http://chealion.ca/2008/10/launchbar-snippets/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 23:06:03 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[launchbar]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=121</guid>
		<description><![CDATA[One of the very first programs I install on any machine I will be spending a good deal of time on is LaunchBar. I am a self confessed LaunchBar whore because of the amount of time it saves me from going down to the Dock or having to find the Applications folder to launch Applications [...]]]></description>
			<content:encoded><![CDATA[<p>One of the very first programs I install on any machine I will be spending a good deal of time on is LaunchBar. I am a self confessed LaunchBar whore because of the amount of time it saves me from going down to the Dock or having to find the Applications folder to launch Applications on top of being able to calculate, do web searches and manipulate files just from a few keystrokes.</p>

<p>Here are three snippets I&#8217;ve added to my LaunchBar configuration that make my life a bit easier:</p>

<p>Add /Library/CoreServices as a folder to search - it means you can access applications like Screen Sharing and a few other lesser known applications without digging.</p>

<p>Searching Apple Mailing Lists:

http://search.lists.apple.com/?q=*&amp;cmd=Search%21&amp;form=extended&amp;m=all&amp;ps=50&amp;fmt=long&amp;wm=wrd&amp;wf=2221&amp;sp=1&amp;ul=</p>

<p>LargeText:
x-launchbar:large-type?string=*</p>

<p>Lastly a couple other tips that I keep running up against:</p>

<ol>
<li><p>** allows you to do powers of in the calculator. Not ^.</p></li>
<li><p>If you consistently misspell something (eg. LIHGR instead of LIGHR for Lightroom) you can set the abbreviation by typing in something that does bring up the file or application and then press Command-Option-A (Select->Assign Abbreviation with the mouse) and then type in the misspell that you keep typing.</p></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2008/10/launchbar-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
