<?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"
	>

<channel>
	<title>Matt's Musings</title>
	<atom:link href="http://www.mattb.net.nz/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattb.net.nz/blog</link>
	<description>Matt Browns thoughts on Life, Linux and lots of other things...</description>
	<pubDate>Mon, 08 Sep 2008 22:11:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>New Gadgets</title>
		<link>http://www.mattb.net.nz/blog/2008/09/09/new-gadgets/</link>
		<comments>http://www.mattb.net.nz/blog/2008/09/09/new-gadgets/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 22:11:07 +0000</pubDate>
		<dc:creator>matt</dc:creator>
		
		<category><![CDATA[Debian]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.mattb.net.nz/blog/?p=71</guid>
		<description><![CDATA[It&#8217;s been a while since I last acquired new gadgets but I think I&#8217;ve made up for lost time with my last weeks purchases. 

You may remember that I&#8217;ve had my eye on the Openmoko phones since early 2007, but in between shifting across the world and starting a new job I never got around [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I last acquired new gadgets but I think I&#8217;ve made up for lost time with my last weeks purchases. </p>
<p><img src="http://www.mattandkatbrown.com/gallery/2008/09/08/img_4338_cropped.jpg/img_4338_cropped.normal.jpg"/></p>
<p>You may remember that I&#8217;ve <a href="http://www.mattb.net.nz/blog/2007/01/22/open-moko/">had my eye</a> on the Openmoko phones since early 2007, but in between shifting across the world and starting a new job I never got around to purchasing one of the first versions. The second version, the &#8220;Freerunner&#8221;, was released in June this year and I placed an order with <a href="http://www.pulster.eu/">Pulster</a>, a local distributor, shortly after. The phones have been in hot demand, so I only received my phone last week, a wait of of almost 2 months, and it turned up missing one of the cables that was meant to come with it. Still some distribution kinks to be worked out.</p>
<p>Distribution kinks are the least of Openmoko&#8217;s worries at the moment though. As advertised, the phone is definitely not ready for primetime distribution yet. I&#8217;ve tried three different software images on it: the original &#8220;stable&#8221; 2007.2 image, the current &#8220;devel&#8221; 2008.8 image and the latest completely rebuilt SHR release which is the most promising yet. With the SHR image I&#8217;ve been able to send and receive calls and text messages, although the interface is somewhat arcane. I&#8217;m most interested in the GPS which looks to be working reasonably well at this stage. </p>
<p>After almost a week with the phone I&#8217;m glad I purchased it, and I&#8217;m having fun hacking on it, but there is a huge way to go before I&#8217;ll be able to use it as my primary phone. So that&#8217;s gadget #1.</p>
<p>The second gadget is a new Digital SLR camera. I&#8217;ve been thinking about getting back into photography for a while (I last took photos seriously in high school) and when I saw how affordable digital SLRs had become I couldn&#8217;t resist. There isn&#8217;t much between Canon and Nikon when comparing mid-range SLRs these days, so after about a week of deliberation I decided on the Canon 450D, primarily because most of my workmates also have Canon SLRs! </p>
<p>I only got the camera on Friday, and spent half the weekend playing with the GPS on the phone (I want to set them up so I can geo tag all my photos), so I haven&#8217;t had quite as much time to play with it yet. I expect to spend plenty of quality time with it on our holiday in Malta next week. First impressions are favourable, although I&#8217;m fast discovering camera viewfinders were not really designed for people who wear glasses. I may have to consider wearing contacts again.</p>
<p>Once we get back from Malta I&#8217;d like to find a local (or online) photography club with some good weekly assignments to fire my creativity and motivate me to get the most out of my new toy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattb.net.nz/blog/2008/09/09/new-gadgets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu versions numbers on crack</title>
		<link>http://www.mattb.net.nz/blog/2008/07/14/ubuntu-versions-numbers-on-crack/</link>
		<comments>http://www.mattb.net.nz/blog/2008/07/14/ubuntu-versions-numbers-on-crack/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 15:56:25 +0000</pubDate>
		<dc:creator>matt</dc:creator>
		
		<category><![CDATA[Debian]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[WLUG / LinuxNZ]]></category>

		<guid isPermaLink="false">http://www.mattb.net.nz/blog/?p=70</guid>
		<description><![CDATA[On hardy after the latest round of updates:

matt@krypton:~$ dpkg -s flashplugin-nonfree &#124; grep Version
Version: 10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2

Granted this package is in hardy-backports not hardy proper, but still, what on earth?!?!
]]></description>
			<content:encoded><![CDATA[<p>On hardy after the latest round of updates:</p>
<p><code><br />
matt@krypton:~$ dpkg -s flashplugin-nonfree | grep Version<br />
Version: 10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2<br />
</code></p>
<p>Granted this package is in hardy-backports not hardy proper, but still, what on earth?!?!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattb.net.nz/blog/2008/07/14/ubuntu-versions-numbers-on-crack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Australian Open Source Industry &#038; Community Report</title>
		<link>http://www.mattb.net.nz/blog/2008/04/13/the-australian-open-source-industry-community-report/</link>
		<comments>http://www.mattb.net.nz/blog/2008/04/13/the-australian-open-source-industry-community-report/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 16:34:12 +0000</pubDate>
		<dc:creator>matt</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[WLUG / LinuxNZ]]></category>

		<guid isPermaLink="false">http://www.mattb.net.nz/blog/2008/04/13/the-australian-open-source-industry-community-report/</guid>
		<description><![CDATA[
I highly recommend making some time to read the The Australian Open Source Industry &#038; Community Report. Based on a census of the Australian Open Source community conducted at the end of last year, it presents a range statistics about the state of the Open Source community and industry in Australia. 
The report seems to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/blog/dump/aosicr08-cover.png" style="border: 0; float: right; margin-left: 15px;" /><br />
I highly recommend making some time to read the <a href="http://census.waughpartners.com.au/">The Australian Open Source Industry &#038; Community Report</a>. Based on a census of the Australian Open Source community conducted at the end of last year, it presents a range statistics about the state of the Open Source community and industry in Australia. </p>
<p>The report seems to be aimed at demonstrating to Government and Businesses that Open Source has become a very viable business strategy in Australia and in particular how increased adoption of Open Source would reduce the Australian trade deficit. You don&#8217;t need to worry about being put to sleep. The report is relatively casual in tone and easy to read with lots of bright graphs to present the key statistics and findings. Including:</p>
<ul>
<li>The Australian Open Source industry generates around AUD$500M in annual revenue. A small proportion of the AUD$54.4B total revenue for the Australian ICT Industry in 2004-2005. Lots of growth potential!</li>
<li>70-80% of the industry is based on the traditional development, customisation, support and maintenance business model.</li>
<li>Most of the individuals making up the Australian Open Source community are working professionals, over half the community are in a relationship and a third of the community have children.</li>
</ul>
<p>It would be fascinating to see a similar study of the New Zealand industry. I suspect that we would find that Open Source businesses are spread across the country similar to Australia. Obviously our community and financial figures would be smaller in absolute terms but would our proportion of Open Source based businesses be similar?</p>
<p>Maybe a good task for the current <a href="http://www.nzoss.org.nz/">NZOSS</a> committee would be to round up some of the larger Open Source businesses in New Zealand, along with the Ministry of Economic Development to sponsor a similar study for New Zealand!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattb.net.nz/blog/2008/04/13/the-australian-open-source-industry-community-report/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Places Visited in 2007</title>
		<link>http://www.mattb.net.nz/blog/2008/01/07/places-visited-in-2007/</link>
		<comments>http://www.mattb.net.nz/blog/2008/01/07/places-visited-in-2007/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 22:30:17 +0000</pubDate>
		<dc:creator>matt</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.mattb.net.nz/blog/2008/01/07/places-visited-in-2007/</guid>
		<description><![CDATA[2007 was a busy year, here is where I managed to live/stay/visit:

Auckland - January and February
Dublin - February, photos
Hamilton - March
Miri - April, photos
Sarikei - April, photos
Kuching - April, photos
Kota Kinabalu - April, photos
Singapore - April, photos
Dubai - April
London - April, photos
Dublin - May onwards, photos
Galway - June
Cork - June, photos
New York - July, photos
Cambridge [...]]]></description>
			<content:encoded><![CDATA[<p>2007 was a busy year, here is where I managed to live/stay/visit:</p>
<ul>
<li>Auckland - January and February</li>
<li>Dublin - February, <a href="http://www.mattandkatbrown.com/gallery/tag/Google%20Interview">photos</a></li>
<li>Hamilton - March</li>
<li>Miri - April, <a href="http://www.mattandkatbrown.com/gallery/tag/Miri">photos</a></li>
<li>Sarikei - April, <a href="http://www.mattandkatbrown.com/gallery/tag/Sarikei">photos</a></li>
<li>Kuching - April, <a href="http://www.mattandkatbrown.com/gallery/tag/Kuching">photos</a></li>
<li>Kota Kinabalu - April, <a href="http://www.mattandkatbrown.com/gallery/tag/Kota%20Kinabalu">photos</a></li>
<li>Singapore - April, <a href="http://www.mattandkatbrown.com/gallery/tag/Singapore">photos</a></li>
<li>Dubai - April</li>
<li>London - April, <a href="http://www.mattandkatbrown.com/gallery/tag/London">photos</a></li>
<li><b>Dublin</b> - May onwards, <a href="http://www.mattandkatbrown.com/gallery/tag/Dublin">photos</a></li>
<li>Galway - June</li>
<li>Cork - June, <a href="http://www.mattandkatbrown.com/gallery/tag/Sirt4">photos</a></li>
<li>New York - July, <a href="http://www.mattandkatbrown.com/gallery/tag/New%20York">photos</a></li>
<li>Cambridge - July, <a href="http://www.mattandkatbrown.com/gallery/tag/Cambridge">photos</a></li>
<li>Belfast - August, <a href="http://www.mattandkatbrown.com/gallery/tag/Belfast">photos</a></li>
<li>Luxembourg - September, <a href="http://www.mattandkatbrown.com/gallery/tag/Luxembourg">photos</a></li>
<li>Paris - November, <a href="http://www.mattandkatbrown.com/gallery/tag/Paris">photos</a></li>
<li>Whistler - November, <a href="http://www.mattandkatbrown.com/gallery/tag/Whistler">photos</a></li>
<li>San Francisco - November/December, <a href="http://www.mattandkatbrown.com/gallery/tag/San%20Francisco">photos</a></li>
<li>Bratislava - December, <a href="http://www.mattandkatbrown.com/gallery/tag/Bratislava">photos</a></li>
<li>Bad Gastein - December, <a href="http://www.mattandkatbrown.com/gallery/tag/Bad%20Gastein">photos</a></li>
<li>Salzburg - December, <a href="http://www.mattandkatbrown.com/gallery/tag/Salzburg">photos</a></li>
<li>Vienna - December, <a href="http://www.mattandkatbrown.com/gallery/tag/Vienna">photos</a></li>
</ul>
<p>18 cities, 5 towns/villages and a total of approximately 101,216km travelled in the air!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattb.net.nz/blog/2008/01/07/places-visited-in-2007/feed/</wfw:commentRss>
		</item>
		<item>
		<title>POSIX/NFSv4 ACL Inheritance Problems</title>
		<link>http://www.mattb.net.nz/blog/2007/07/09/posixnfsv4-acl-inheritance-problems/</link>
		<comments>http://www.mattb.net.nz/blog/2007/07/09/posixnfsv4-acl-inheritance-problems/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 16:23:49 +0000</pubDate>
		<dc:creator>matt</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[WLUG / LinuxNZ]]></category>

		<guid isPermaLink="false">http://www.mattb.net.nz/blog/2007/07/09/posixnfsv4-acl-inheritance-problems/</guid>
		<description><![CDATA[I (as root) have a directory hierarchy that I want a particular group to always have write access to. The files and folders inside the hierarchy are owned and manipulated by a wide variety of diffrent users. 
Essentially I want to delegate &#8216;root&#8217; access for a portion of the filesystem to a particular group. 
My [...]]]></description>
			<content:encoded><![CDATA[<p>I (as root) have a directory hierarchy that I want a particular group to always have write access to. The files and folders inside the hierarchy are owned and manipulated by a wide variety of diffrent users. </p>
<p>Essentially I want to delegate &#8216;root&#8217; access for a portion of the filesystem to a particular group. </p>
<p>My first attempt at implementing this was to use the standard <a href="http://www.suse.de/~agruen/acl/linux-acls/online/">POSIX ACLs</a> that are available for almost every filesystem Linux supports.</p>
<p>I recursively set an ACL on the top-level directory to give the group write access to all files and directories that currently exist and then I recursively set a default ACL to give the group write access on all the directories.  This default ACL should be inherited by any new files that are created ensuring that the group keeps write access to everything. </p>
<p>Problem solved? Unfortunately not.</p>
<p>The intricacies of complying with POSIX means that ACLs are implemented as an ACL plus a mask. To gain access to a particular file or directory the user or group must match an appropriate ACL granting the access and the mask for that file or directory must also allow the requested permission to be granted.</p>
<p>When you add an ACL to a file or directory, the &#8216;group&#8217; bits of the standard Unix permissions magically switch from controlling group access to controlling the mask portion of the ACL, effectively providing an upper bound on the permissions that an ACL entry can grant.  This prevents legacy POSIX applications that do not understand ACLs from unintentionally granting excessive permissions - arguably a good thing.</p>
<p>Unfortunately this also makes it very hard to preserve the ACL granting write access to the &#8216;root&#8217; group which I legitimately intended to have in place on this portion of the filesystem. </p>
<p>Newly created files under the hierarchy generally inherit the ACL as intended, as most applications attempt to create files with as many permissions as possible, leaving it up to the umask to remove undesired permissions.</p>
<p>However any file that is copied into the hierarchy without the &#8216;group&#8217; write bit set, or any file that has the &#8216;group&#8217; write bit removed via chmod will actually remove the write bit from the ACL mask invalidating the ACL and leaving me back at square one!</p>
<p>After a bit of Googling I thought that <a href="http://www.suse.de/~agruen/nfs4acl/">NFSv4 ACLs</a> might be the answer to this problem, as they are marketed as &#8220;very similar to Windows ACLs&#8221; and I&#8217;m sure that I vaugely recall Windows being able to properly inherit ACLs from parent directories.  Unfortunately after downloading the NFSv4 ACL patches and trying all the various mount options I cannot find any combination that will offer the functionality I need. The implementation conforms to POSIX, so it still has a mask parameter and the same problems as the standard POSIX ACLs. The only benefit from using NFSv4 ACLs that I can see is that you have more permissions to grant.</p>
<p>So once again, I&#8217;m back to square one. I&#8217;m hoping that there is some fundamental point that I&#8217;m missing as this seems like a very common use-case that I would have thought would be well supported. </p>
<p>If a command-line example is clearer to you look at:<br />
<a href="http://www.mattb.net.nz/blog/dump/acl-inheritance-problems.txt">http://www.mattb.net.nz/blog/dump/acl-inheritance-problems.txt</a></p>
<p>My current solution is to run a cronjob every X minutes to recursively &#8216;chmod -R g+w /dir&#8217;, however that&#8217;s far from optimal as it exposes all sorts of race conditions and just seems ugly!</p>
<p>Any suggestions or solutions will be gratefully received.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattb.net.nz/blog/2007/07/09/posixnfsv4-acl-inheritance-problems/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
