<?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>mac &#8211; LarryLai</title>
	<atom:link href="https://larrylai.com/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>https://larrylai.com</link>
	<description>兼聽則明 偏聽則暗</description>
	<lastBuildDate>Tue, 14 Mar 2017 06:27:16 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://larrylai.com/wp-content/uploads/2017/03/larrylai_com-favicon.png</url>
	<title>mac &#8211; LarryLai</title>
	<link>https://larrylai.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Cannot Change Ownership on NFS Files</title>
		<link>https://larrylai.com/cannot-change-ownership-nfs-files/</link>
					<comments>https://larrylai.com/cannot-change-ownership-nfs-files/#respond</comments>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Tue, 14 Mar 2017 06:24:26 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[nfs]]></category>
		<guid isPermaLink="false">http://larrylai.com/?p=2785</guid>

					<description><![CDATA[<p>Issue: After moving mounted volumes from Qnap NAS to iMac as host with CentOS as client, the directory and file ownership cannot be changed to Apache at the client side. No matter using root or user privilege to command the chown. Solution: Add the following in iMac&#8217;s /etc/exports: [nfsshare] -rw -maproot=root:wheel Tricks: -maproot directive can pass the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/cannot-change-ownership-nfs-files/">Cannot Change Ownership on NFS Files</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong></p>
<p>After moving mounted volumes from Qnap NAS to iMac as host with CentOS as client, the directory and file ownership cannot be changed to Apache at the client side. No matter using root or user privilege to command the <code>chown.</code></p>
<p><strong>Solution:</strong></p>
<p>Add the following in iMac&#8217;s /etc/exports:</p>
<p><code>[nfsshare] -rw -maproot=root:wheel</code></p>
<p><strong>Tricks:</strong></p>
<p>-maproot directive can pass the root control from nfs host to client, without it even changing the directory access and file permission to 777 in host, or changing the mount options at client cannot solve the issue.</p>
<p><strong>Config:</strong></p>
<ul>
<li>OSX:        10.12.3</li>
<li>CentOS:   7.3</li>
</ul>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/cannot-change-ownership-nfs-files/">Cannot Change Ownership on NFS Files</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://larrylai.com/cannot-change-ownership-nfs-files/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
