<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Back to Basics: Unix File Permissions</title>
	<atom:link href="http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/</link>
	<description>Thinking, doing, and learning about sysadmin/devops issues.</description>
	<lastBuildDate>Tue, 20 Sep 2011 23:05:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Hamburg Escort</title>
		<link>http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/comment-page-1/#comment-92</link>
		<dc:creator>Hamburg Escort</dc:creator>
		<pubDate>Sat, 06 Mar 2010 18:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=32#comment-92</guid>
		<description>You&#039;re absolutely
right!</description>
		<content:encoded><![CDATA[<p>You&#8217;re absolutely<br />
right!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/comment-page-1/#comment-27</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Fri, 19 Feb 2010 20:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=32#comment-27</guid>
		<description>Hi Charlie,

Yes, I love Twitter; and you&#039;re certainly right about the nitpicky corrections, thanks :)

Extended ACLs are extended attributes (permissions) that can be applied to most POSIX file systems. NFSv4 ACLs are a whole different beast, and the two don&#039;t always jive. Say you have an NFS server running Solaris and files with extended ACLs. Linux will not see those at all. NFSv4 server to NFSv4 client (if they are all Linux) works, but that&#039;s the extent last I checked.

Real world: say I want to give a friend/coworker access to a file. I either open it up to the world or must be in the same group as him. With setfacl, you can just grant him read access to that file or directory. Also, default ACLs are super handy. Instead of hoping collaborators understand umask, you can enforce a mask that ensures files written to a shared directory are group-writable. I wrote an article about group collaboration (but focused on Samba), here: 
http://www.linuxplanet.com/linuxplanet/tutorials/6844/1/

In Linux/Solaris, see: setfacl(1), getfacl(1) 
(if Ubuntu, you must have the &#039;acl&#039; package installed)

Sorry, I don&#039;t know anything about VMS.</description>
		<content:encoded><![CDATA[<p>Hi Charlie,</p>
<p>Yes, I love Twitter; and you&#8217;re certainly right about the nitpicky corrections, thanks <img src='http://www.longitudetech.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Extended ACLs are extended attributes (permissions) that can be applied to most POSIX file systems. NFSv4 ACLs are a whole different beast, and the two don&#8217;t always jive. Say you have an NFS server running Solaris and files with extended ACLs. Linux will not see those at all. NFSv4 server to NFSv4 client (if they are all Linux) works, but that&#8217;s the extent last I checked.</p>
<p>Real world: say I want to give a friend/coworker access to a file. I either open it up to the world or must be in the same group as him. With setfacl, you can just grant him read access to that file or directory. Also, default ACLs are super handy. Instead of hoping collaborators understand umask, you can enforce a mask that ensures files written to a shared directory are group-writable. I wrote an article about group collaboration (but focused on Samba), here:<br />
<a href="http://www.linuxplanet.com/linuxplanet/tutorials/6844/1/" rel="nofollow">http://www.linuxplanet.com/linuxplanet/tutorials/6844/1/</a></p>
<p>In Linux/Solaris, see: setfacl(1), getfacl(1)<br />
(if Ubuntu, you must have the &#8216;acl&#8217; package installed)</p>
<p>Sorry, I don&#8217;t know anything about VMS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/comment-page-1/#comment-26</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Fri, 19 Feb 2010 20:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=32#comment-26</guid>
		<description>Thanks for the follow on Twitter.  See how it drives traffic to your blog?  

And while we&#039;re being all nitpicky here, it&#039;s &quot;octal&quot; not &quot;decimal&quot; and &quot;mnemonic&quot; not &quot;pneumonic.&quot;

The stuff about 4000/2000/1000 bits was enlightening.  I admit that I&#039;ve limited my application of permissions to the 777 discussed in the first half of this article.  

The sentence &quot;Often the extended attributes aren’t necessary, and ACLs likely won’t work over NFS if you’re using Linux&quot; raised a few questions in my head, to wit:  1) What are some useful use cases and real-world purposes for the extended attributes? 2) What&#039;s an ACL?  2a) Are they similar/different to the Access Control List concept in OpenVMS?  2b) While we&#039;re on VMS, why is there no &quot;D&quot;elete bit in the Unix permissions and what&#039;s the use of it in OpenVMS when a user with &quot;W&quot;rite can simply truncate a file, effectively erasing it?   3) What (typically) goes wrong with ACLs via nfs? 

That said, I tend to run Linux on personal machines, in developer environments where everybody on the box has sudoer access, or where files are all buried beneath a tangled web of network application software, so it might as well be like DOS permissions for all the practical good it does me.</description>
		<content:encoded><![CDATA[<p>Thanks for the follow on Twitter.  See how it drives traffic to your blog?  </p>
<p>And while we&#8217;re being all nitpicky here, it&#8217;s &#8220;octal&#8221; not &#8220;decimal&#8221; and &#8220;mnemonic&#8221; not &#8220;pneumonic.&#8221;</p>
<p>The stuff about 4000/2000/1000 bits was enlightening.  I admit that I&#8217;ve limited my application of permissions to the 777 discussed in the first half of this article.  </p>
<p>The sentence &#8220;Often the extended attributes aren’t necessary, and ACLs likely won’t work over NFS if you’re using Linux&#8221; raised a few questions in my head, to wit:  1) What are some useful use cases and real-world purposes for the extended attributes? 2) What&#8217;s an ACL?  2a) Are they similar/different to the Access Control List concept in OpenVMS?  2b) While we&#8217;re on VMS, why is there no &#8220;D&#8221;elete bit in the Unix permissions and what&#8217;s the use of it in OpenVMS when a user with &#8220;W&#8221;rite can simply truncate a file, effectively erasing it?   3) What (typically) goes wrong with ACLs via nfs? </p>
<p>That said, I tend to run Linux on personal machines, in developer environments where everybody on the box has sudoer access, or where files are all buried beneath a tangled web of network application software, so it might as well be like DOS permissions for all the practical good it does me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/comment-page-1/#comment-19</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Thu, 18 Feb 2010 04:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=32#comment-19</guid>
		<description>Just checking to see if people were paying attention! Ok, it was a typo - thanks! (fixed)</description>
		<content:encoded><![CDATA[<p>Just checking to see if people were paying attention! Ok, it was a typo &#8211; thanks! (fixed)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.longitudetech.com/linux-unix/back-to-basics-unix-file-permissions/comment-page-1/#comment-18</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 18 Feb 2010 03:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=32#comment-18</guid>
		<description>The chart you give shows binary 3 as 110 and, as I am sure you know, it should be 011. That being said, I now have a clear understanding of file permissions. Thank you.</description>
		<content:encoded><![CDATA[<p>The chart you give shows binary 3 as 110 and, as I am sure you know, it should be 011. That being said, I now have a clear understanding of file permissions. Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
