<?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>Matt's Musings &#187; Linux</title>
	<atom:link href="http://www.mattb.net.nz/blog/category/linux/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>
	<lastBuildDate>Mon, 29 Mar 2010 00:10:41 +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>Blacked Out &#8211; no &#8220;Guilt Upon Accusation&#8221;</title>
		<link>http://www.mattb.net.nz/blog/2009/02/18/blacked-out-no-guilt-upon-accusation/</link>
		<comments>http://www.mattb.net.nz/blog/2009/02/18/blacked-out-no-guilt-upon-accusation/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 01:37:30 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[WLUG / LinuxNZ]]></category>

		<guid isPermaLink="false">http://www.mattb.net.nz/blog/?p=72</guid>
		<description><![CDATA[If you&#8217;re reading this post via the website rather than a feed/planet then you will notice that the site has gone completely black in support of the Creative Freedom Foundation&#8217;s campaign against S92A of the NZ Copyright Amendment Act which is due to come into effect on 28th February 2009. I&#8217;ve also joined the wave [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re reading this post via the website rather than a feed/planet then you will notice that the site has gone completely black in support of the <a href="http://creativefreedom.org.nz/">Creative Freedom Foundation&#8217;s</a> campaign against S92A of the NZ Copyright Amendment Act which is due to come into effect on 28th February 2009. I&#8217;ve also joined the wave of people blacking out their &#8220;avatar&#8221; on Facebook/Jabber/MSN, etc.</p>
<p>S92A introduces &#8220;Guilt Upon Accusation&#8221; whereby if you are accused of copyright infringement (downloading music and movies, etc) &#8220;repeatedly&#8221; (likely 3 or more times) you are at risk of being disconnected from the Internet by your ISP. The law does not require any proof or substantiation of the accusations and the entire process would occur outside of the courts and the established legal system. Not only does it place every user at risk, the wording is very unclear on exactly what type of organisation is considered an ISP and there is significant concern that schools, businesses, libraries and hospitals will be placed in the difficult position of determining whether their users have broken the law and require disconnection. </p>
<p>Opposition to the law is not an attack on copyright, or a statement that we should be free to download all the movies and music that we desire. Those sorts of activities are clearly wrong, and I don&#8217;t have any issue with copyright holders wanting to enforce their rights when their content is illegally copied. However, disconnecting people upon accusation, with no proof or formal legal process to prove guilt is not the right way to go about it. </p>
<p>The fact that the law does not require proof of guilt is only the tip of the iceberg in terms of problems with it. For further background on the problems it causes for ISPs by placing them as the middle-man in copyright disputes you should refer to the following posts:</p>
<ul>
<li>Russel Brown of Public Address, points out that among other faults the law &#8220;<a href="http://www.publicaddress.net/default,5693.sm#post5693">stipulates a penalty that no court would impose in adjudicating a copyright complaint</a>&#8220;</li>
<li>David Farrar of Kiwiblog, has a guest post at the NZ Center for Political Research <a href="http://www.nzcpr.com/guest133.htm">explaining how the law affects businesses</a></li>
<li><a href="http://creativefreedom.org.nz/s92.html">Creative Freedom Foundation Background on S92</a></li>
</ul>
<p>Finally, I think it is worth pointing out that S92A was removed from the proposed Amendment at the select committee stage, but was later reintroduced by Judith Tizard during the final reading of the bill. Mark Harris has an excellent post on the <a href="http://tracs.co.nz/gripping-hand/back-on-the-oia-trail-s92a-this-time/">history of the amendment</a> which includes facts such as the official report on the amendment also recommended removing S92A as it was unecessary given existing ISP terms and conditions which forbid illegal activity. The fact that the select committee (based on public submissions) recognised the problems with S92A and removed it, only to have it added back in again at the last stage when we no longer had any say on it really hacks me off and I cant&#8217; help but feel the influence of the &#8220;big money&#8221; American media companies pressuring our politicians to pass a law that they don&#8217;t really understand the full consequences of.</p>
<p>So what is to be done? The <a href="http://creativefreedom.org.nz/blackout.html">Blacked Out</a> campaign, being run by the Creative Freedom Foundation is gathering steam and international attention. Peter Dunne of United Future (who originally voted for the amendment) has declared that the amendment is wrong, and doesn&#8217;t do what they thought they were voting to do, we need to convince National and the rest of the house of the same. Time is running out for this to happen before the amendment comes into effect on Feb 28th, but there is still time to write to your local MP and sign the petition against S92A &#8220;Guilt Upon Accusation&#8221;. The Creative Freedom Foundation site has a nice easy list of <a href="http://creativefreedom.org.nz/s92.html#whattodo">what you can do</a> to register your protest.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattb.net.nz/blog/2009/02/18/blacked-out-no-guilt-upon-accusation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<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>
		<slash:comments>6</slash:comments>
		</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>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Australian Open Source Industry &amp; 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>
		<slash:comments>1</slash:comments>
		</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 &#8211; 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>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
