<?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>LinuxNut.org &#187; umask</title>
	<atom:link href="http://linuxnut.org/tag/umask/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxnut.org</link>
	<description>Nuts about Linux and Stuff...</description>
	<lastBuildDate>Fri, 09 Apr 2010 15:52:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>umask</title>
		<link>http://linuxnut.org/2009/08/umask/</link>
		<comments>http://linuxnut.org/2009/08/umask/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 13:59:16 +0000</pubDate>
		<dc:creator>Bryce</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[umask]]></category>

		<guid isPermaLink="false">http://admin.linuxnut.org/?p=119</guid>
		<description><![CDATA[umask determines what permissions any new files or directories will have by default. Like file permissions, it historically takes an octal value (e.g. &#8216;umask 002&#8242;), but can also symbolic values (e.g. &#8216;umask a=rx,ug+w&#8217;). I&#8217;m going to just focus on the octal values.

The octal value appears to have a lower than what you&#8217;d normally set with [...]]]></description>
			<content:encoded><![CDATA[<p>umask determines what permissions any new files or directories will have by default. Like file permissions, it historically takes an octal value (e.g. &#8216;umask 002&#8242;), but can also symbolic values (e.g. &#8216;umask a=rx,ug+w&#8217;). I&#8217;m going to just focus on the octal values.<br />
<span id="more-119"></span><br />
The octal value appears to have a lower than what you&#8217;d normally set with chmod, but this is because it is actually subtracted from the maximum possible file (666) or directory (777) permissions.</p>
<p>For example if you create a new directory with umask set to 022, the resulting permissions are set to 755, since 777 &#8211; 022 = 755.</p>
<p>Most of the time umask is set sensibly from the beginning, and you don&#8217;t have to worry about it. If you do need to change it, you&#8217;ll probably find it being set in one of your login scripts &#8211; &#8216;/etc/profile&#8217; or &#8216;~/.bashrc&#8217;.</p>
<p>For more information just check the man page.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxnut.org/2009/08/umask/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
