<?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>file &#8211; richliu&#039;s blog</title>
	<atom:link href="https://richliu.com/tag/file/feed/" rel="self" type="application/rss+xml" />
	<link>https://richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Wed, 09 Jan 2019 03:43:22 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>WSL (Windows Subsystem for Linux) 和 Windows App 的檔案權限問題</title>
		<link>https://richliu.com/2019/01/09/3314/wsl-windows-subsystem-for-linux-%e5%92%8c-windows-app-%e7%9a%84%e6%aa%94%e6%a1%88%e6%ac%8a%e9%99%90%e5%95%8f%e9%a1%8c/</link>
					<comments>https://richliu.com/2019/01/09/3314/wsl-windows-subsystem-for-linux-%e5%92%8c-windows-app-%e7%9a%84%e6%aa%94%e6%a1%88%e6%ac%8a%e9%99%90%e5%95%8f%e9%a1%8c/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 09 Jan 2019 03:42:33 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=3314</guid>

					<description><![CDATA[<p>WSL 在一些輕量級的 Linux application 下很好用，不過如果專案稍大一點，vim 就不夠力  [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2019/01/09/3314/wsl-windows-subsystem-for-linux-%e5%92%8c-windows-app-%e7%9a%84%e6%aa%94%e6%a1%88%e6%ac%8a%e9%99%90%e5%95%8f%e9%a1%8c/">WSL (Windows Subsystem for Linux) 和 Windows App 的檔案權限問題</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>WSL 在一些輕量級的 Linux application 下很好用，不過如果專案稍大一點，vim 就不夠力</p>
<p>這時候如果用 Windows application 同時開發，如果寫入到 home 目錄的權限，檔案的 mode 會是 000<br />
要手動改 755 才可以編輯</p>
<p>WSL 執行時仍然是用執行使用者的權限，雖然也可以跑在 admin mode 但是不建議</p>
<p>所以要讓 WSL Linux 和 Windows 同時開發，要將程式放在 /mnt/&lt;driver&gt; 下<br />
讓 Windows 管理整個權限，就不會有寫到 home 目錄之後，檔案的 mode 變 000 的狀況</p>
<p>ref<br />
<a href="https://github.com/Microsoft/vscode/issues/50996" target="_blank" rel="noopener">VSCODE cannot save file launched by WSL 18.04 </a></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2019/01/09/3314/wsl-windows-subsystem-for-linux-%e5%92%8c-windows-app-%e7%9a%84%e6%aa%94%e6%a1%88%e6%ac%8a%e9%99%90%e5%95%8f%e9%a1%8c/">WSL (Windows Subsystem for Linux) 和 Windows App 的檔案權限問題</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2019/01/09/3314/wsl-windows-subsystem-for-linux-%e5%92%8c-windows-app-%e7%9a%84%e6%aa%94%e6%a1%88%e6%ac%8a%e9%99%90%e5%95%8f%e9%a1%8c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
