<?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>Life on the edge of /dev/null &#187; bug</title>
	<atom:link href="http://grimstveit.no/jakob/blog/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://grimstveit.no/jakob/blog</link>
	<description>This is what I care about. Why do you care?</description>
	<lastBuildDate>Mon, 09 Jan 2012 07:36:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The operation can’t be completed because you don’t have permission to access some of the items</title>
		<link>http://grimstveit.no/jakob/blog/2010/04/26/the-operation-can%e2%80%99t-be-completed-because-you-don%e2%80%99t-have-permission-to-access-some-of-the-items/</link>
		<comments>http://grimstveit.no/jakob/blog/2010/04/26/the-operation-can%e2%80%99t-be-completed-because-you-don%e2%80%99t-have-permission-to-access-some-of-the-items/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 23:27:31 +0000</pubDate>
		<dc:creator>Jakob Breivik Grimstveit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[geekish]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://grimstveit.no/jakob/blog/?p=203</guid>
		<description><![CDATA[I decided to make the topic the error message, since it&#8217;s what people often are searching for when experiencing a problem . Problem scenario: You&#8217;ve downloaded a file from t3h intranetz on your Snow Leopard MacBook, and opens the file (possibly a PDF or DMG file) using the Mac. Then you try to copy the [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to make the topic the error message, since it&#8217;s what people often are searching for when experiencing a problem <img src='http://grimstveit.no/jakob/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><a href="http://grimstveit.no/jakob/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-1.25.58-AM.png" rel="lightbox[203]"><img class="aligncenter size-medium wp-image-206" title="Samba mount on OSX" src="http://grimstveit.no/jakob/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-1.25.58-AM-300x287.png" alt="" width="300" height="287" /></a></p>
<p>Problem scenario: You&#8217;ve downloaded a file from t3h intranetz on your Snow Leopard MacBook, and opens the file (possibly a PDF or DMG file) using the Mac. Then you try to copy the file to your SMB/CIFS network share (Samba/Synology/QNap/ReadyNAS/{your NAS device here}), but get the following dreaded and dumbfounding error message:</p>
<blockquote><p>The operation can’t be completed because you don’t have permission to access some of the items.</p></blockquote>
<p><span id="more-203"></span></p>
<p>The problem here, is that the file has been modified by OSX. Now, after having been tampered with by your Mac, the file contains more attributes, which you can display using the &#8216;xattr {file}&#8217; command in a terminal window. A file with extended permissions might look like this:</p>
<blockquote>
<pre>$ xattr Pictures/Avatar/cookie-monster3-7769871237963363.jpg
com.apple.metadata:kMDItemWhereFroms
com.apple.quarantine</pre>
</blockquote>
<div>xattr happily tells you the file now has two extended attributes. These attributes can be removed using xattr as well:</div>
<blockquote>
<pre>$ xattr -d com.apple.quarantine</pre>
</blockquote>
<p>Note that you would have to do this process for every extended attribute the file has.</p>
<p>Well, back to the problem. In order to make Samba ignore the extended attributes, you could add the following to your smb.conf Samba configuration file (I&#8217;d put it in the [global] section):</p>
<blockquote>
<pre>[global]
unix extensions = no</pre>
</blockquote>
<p>Do a restart of the Samba daemon on the server, remount the service shares on your Mac, and everything should be back to normal. At least, that&#8217;s my experience this far <img src='http://grimstveit.no/jakob/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>Happy hacking!</p>
<div class="none"><g:plusone href="http://grimstveit.no/jakob/blog/2010/04/26/the-operation-can%e2%80%99t-be-completed-because-you-don%e2%80%99t-have-permission-to-access-some-of-the-items/" size="small" count="true"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://grimstveit.no/jakob/blog/2010/04/26/the-operation-can%e2%80%99t-be-completed-because-you-don%e2%80%99t-have-permission-to-access-some-of-the-items/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Solution: SVN authentication breaking in IntelliJ IDEA</title>
		<link>http://grimstveit.no/jakob/blog/2009/08/18/solution-svn-authentication-broken-in-intellij-idea/</link>
		<comments>http://grimstveit.no/jakob/blog/2009/08/18/solution-svn-authentication-broken-in-intellij-idea/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:20:21 +0000</pubDate>
		<dc:creator>Jakob Breivik Grimstveit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[intellij]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jetbrains]]></category>

		<guid isPermaLink="false">http://grimstveit.no/jakob/blog/?p=94</guid>
		<description><![CDATA[Several times this nasty bug has bitten me, and I assume I&#8217;m not the only one . Are you having problems with IntelliJ IDEA refusing to authenticate you while trying to use SVN (TortoiseSVN)? You have even tried to clear the authentication cache and all other logs? If so, you might try to add the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-109" title="IntelliJ-IDEA development environment" src="http://grimstveit.no/jakob/blog/wp-content/uploads/2009/08/intellij-idea-150x150.png" alt="IntelliJ-IDEA development environment" width="150" height="150" />Several times this nasty bug has bitten me, and I assume I&#8217;m not the only one <img src='http://grimstveit.no/jakob/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>Are you having problems with <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a> refusing to authenticate you while trying to use <a href="http://en.wikipedia.org/wiki/SVN">SVN</a> (<a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a>)? You have even tried to clear the authentication cache and all other logs?</p>
<p><span id="more-94"></span></p>
<p>If so, you might try to add the following to your idea.vmoptions (idea.exe.vmoptions if you&#8217;re using Windows) file:<br />
<code><br />
-Dsvnkit.http.methods=Basic,NTLM<br />
</code></p>
<p>Restart your development environment, and everything should be back to normal.</p>
<p>This issue has also been <a href="http://www.jetbrains.net/devnet/message/5227675#5227675">addressed several times</a> in the <a href="http://www.jetbrains.net/devnet/">JetBrains.net Developer Community</a>, where JetBrains developer Serge Baranov has most, if not all, answers.</p>
<p>Happy hacking!</p>
<div class="none"><g:plusone href="http://grimstveit.no/jakob/blog/2009/08/18/solution-svn-authentication-broken-in-intellij-idea/" size="small" count="true"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://grimstveit.no/jakob/blog/2009/08/18/solution-svn-authentication-broken-in-intellij-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

