<?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>rhcsa &#8211; Luxing Huang</title>
	<atom:link href="https://luxing.im/tag/rhcsa/feed/" rel="self" type="application/rss+xml" />
	<link>https://luxing.im</link>
	<description>Thoughs and things</description>
	<lastBuildDate>Tue, 18 Feb 2014 12:44:22 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
<site xmlns="com-wordpress:feed-additions:1">58771605</site>	<item>
		<title>Access Control List on Linux filesystem</title>
		<link>https://luxing.im/access-control-list-on-linux-filesystem/</link>
					<comments>https://luxing.im/access-control-list-on-linux-filesystem/#respond</comments>
		
		<dc:creator><![CDATA[Luxing Huang]]></dc:creator>
		<pubDate>Tue, 18 Feb 2014 12:40:41 +0000</pubDate>
				<category><![CDATA[Learning Notes]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rhcsa]]></category>
		<category><![CDATA[rhel]]></category>
		<guid isPermaLink="false">http://blog.luxing.im/?p=285</guid>

					<description><![CDATA[The Access Control List (ACL) provides an extended set of permissions on files and directories, there are 2 commands available to use: setfacl, getfacl. Consult man page for complete manual. Sample use: getfacl -c Video/ Gives out: user::rwx group::r-x other::r-x When it&#8217;s needed to share to others: setfacl -m u:user2:5 getfacl -c Video/ Will return: &#8230; <p class="link-more"><a href="https://luxing.im/access-control-list-on-linux-filesystem/" class="more-link">Continue reading<span class="screen-reader-text"> "Access Control List on Linux filesystem"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>The Access Control List (ACL) provides an extended set of permissions on files and directories, there are 2 commands available to use: <em>setfacl</em>, <em>getfacl</em>.</p>
<p>Consult <a href="http://linux.die.net/man/1/setfacl" target="_blank">man</a> page for complete manual.<br />
<span id="more-285"></span><br />
Sample use:</p>
<pre>getfacl -c Video/</pre>
<p>Gives out:</p>
<pre>
user::rwx
group::r-x
other::r-x
</pre>
<p>When it&#8217;s needed to share to others:</p>
<pre>setfacl -m u:user2:5
getfacl -c Video/</pre>
<p>Will return:</p>
<pre>
user::rwx
user:user2:r-x
group::r-x
mask::r-x
other::r-x
</pre>
<p>So user2 can only be read-only on this directory.</p>
<p>Removing all extended ACL and leave the default system rwx, use this command:</p>
<pre>setfacl -b Video/</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://luxing.im/access-control-list-on-linux-filesystem/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">285</post-id>	</item>
	</channel>
</rss>
