<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>cygwin &#8211; luke arms</title>
	<atom:link href="https://tech.lkrms.org/tag/cygwin/feed/" rel="self" type="application/rss+xml" />
	<link>https://tech.lkrms.org</link>
	<description>just a nerd with &#34;mild OCD tendencies&#34;</description>
	<lastBuildDate>Mon, 22 May 2017 00:20:30 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6.12</generator>

<image>
	<url>https://tech.lkrms.org/wp-content/uploads/2016/06/cropped-Logo-Letters-WB-Circle-2-32x32.png</url>
	<title>cygwin &#8211; luke arms</title>
	<link>https://tech.lkrms.org</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">152348619</site>	<item>
		<title>Mounting local filesystems in cygwin</title>
		<link>https://tech.lkrms.org/mounting-local-filesystems-in-cygwin/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Mon, 10 Jun 2013 01:55:47 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cygwin]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=844</guid>

					<description><![CDATA[<p>If you&#8217;re an OS X/Linux geek who also runs Windoze, cygwin is probably installed on at least one of your computers. (On the other hand, if you have no clue what cygwin is, you&#8217;re allowed to skip this one.) I use cygwin for occasional access to GNU utilities like find, and for rsync-based data replication &#8230; <a href="https://tech.lkrms.org/mounting-local-filesystems-in-cygwin/" class="more-link">Continue reading <span class="screen-reader-text">Mounting local filesystems in cygwin</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/mounting-local-filesystems-in-cygwin/">Mounting local filesystems in cygwin</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;re an OS X/Linux geek who also runs Windoze, <a href="http://www.cygwin.com/">cygwin</a> is probably installed on at least one of your computers. (On the other hand, if you have no clue what cygwin is, you&#8217;re allowed to skip this one.)</p>
<p>I use cygwin for occasional access to GNU utilities like <code>find</code>, and for rsync-based data replication between computers. Given POSIX permissions don&#8217;t map to NTFS permissions, this can be problematic. By default, when cygwin writes to NTFS volumes it replaces any existing NTFS permissions with new ones that replicate the effect of POSIX permissions. This is fine for cygwin-only parts of the filesystem, but if you like your NTFS permissions (including, say, ACL inheritance and propagation) and don&#8217;t want them to be butchered, you&#8217;ll need to mount your filesystems with the <code>noacl</code> option.</p>
<p>Unfortunately, <code>noacl</code> slows down cygwin&#8217;s filesystem operations by a factor of&#8230; well, lots. I&#8217;ve been enduring this for a while now, but I&#8217;m glad to have finally found the cause. With <code>noacl</code> enabled, cygwin can&#8217;t efficiently determine the executability of files, so it has to read the first few bytes of each file to figure it out. This slows <code>stat</code> down immensely.</p>
<p>The solution? Add <code>exec</code>, <code>notexec</code> or <code>cygexec</code> to your <a href="http://cygwin.com/cygwin-ug-net/using.html">filesystem mount options.</a> These instruct cygwin to treat every file on the filesystem as executable (or not executable). With this line in <code>/etc/fstab</code>, I&#8217;m golden:</p>
<pre>none /cygdrive cygdrive binary,posix=0,user,noacl,exec 0 0</pre>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/mounting-local-filesystems-in-cygwin/">Mounting local filesystems in cygwin</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">844</post-id>	</item>
	</channel>
</rss>
