<?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>It&#039;s Just Another Layer &#187; NFSv4</title>
	<atom:link href="http://itsjustanotherlayer.com/tag/nfsv4/feed/" rel="self" type="application/rss+xml" />
	<link>http://itsjustanotherlayer.com</link>
	<description>Virtualization is a layer in software. What are you abstracting away from?</description>
	<lastBuildDate>Fri, 30 Jul 2010 16:38:21 +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>ACLs and CIFS under OpenSolaris</title>
		<link>http://itsjustanotherlayer.com/2009/02/acls-and-cifs-under-opensolaris/</link>
		<comments>http://itsjustanotherlayer.com/2009/02/acls-and-cifs-under-opensolaris/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 04:22:39 +0000</pubDate>
		<dc:creator>iguy</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[CIFS]]></category>
		<category><![CDATA[NFSv4]]></category>

		<guid isPermaLink="false">http://itsjustanotherlayer.com/?p=104</guid>
		<description><![CDATA[One of the issues with running a file server in the home is the fact that you have multiple computers and accounts (the wife, the kids etc) accessing the same directory trees.   The default user/group works pretty well as you have effectively a single group for family access.  Different groups are used [...]]]></description>
			<content:encoded><![CDATA[<p>One of the issues with running a file server in the home is the fact that you have multiple computers and accounts (the wife, the kids etc) accessing the same directory trees.   The default user/group works pretty well as you have effectively a single group for family access.  Different groups are used for more computer based access needs such as server to server communication.   However I found that the kernel CIFS doesn&#8217;t create files with proper access very well using the standard UNIX permissions. </p>
<p>ACLs are the solution in this case.   </p>
<p><code># zfs create -o casesensitivity=mixed -o sharesmb=name=storage -o quota=275G usbpool/storage<br />
# cd /usbpool/storage<br />
# chgrp home .<br />
# chmod A=group@:rwxpdDaARWcCos:fd:allow .</code></p>
<p>Now when you create a new folder or files under this CIFS folder it creates them with the group permissions.   I leave everyone in the same group and can add the secondary group as necessary for different shares needing permissions.   </p>
<p>When users create files they are created with:</p>
<p><code>----rwx---+  1 me   home       7930 Feb  7  2008 test.txt</code></p>
<p>And when they create directories they are:</p>
<p><code>d---rwx---+  2 me   home            3 Feb  9 22:10 OpenSolaris</code></p>
<p>Doable and functional.  I still wish there was better documentation that I could find around the ACL permissions and how they work.  I&#8217;m doing testing and I know I&#8217;m missing things.   </p>
]]></content:encoded>
			<wfw:commentRss>http://itsjustanotherlayer.com/2009/02/acls-and-cifs-under-opensolaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
