<?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/"
		>
<channel>
	<title>Comments on: Default Umask In Debian</title>
	<atom:link href="http://pthree.org/2007/10/24/default-umask-in-debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://pthree.org/2007/10/24/default-umask-in-debian/</link>
	<description>Linux.  GNU.  Freedom.</description>
	<lastBuildDate>Wed, 16 May 2012 07:36:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta2-20489</generator>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-111025</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 14 Jul 2010 23:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-111025</guid>
		<description>Gee. I wonder who that was. :)

You also might want to read this thread: http://lists.debian.org/debian-devel/2010/05/msg00252.html

and the follow-ups: http://lists.debian.org/debian-devel/2010/05/msg00915.html and http://lists.debian.org/debian-devel/2010/05/msg00887.html.

Should keep you busy for a while. :)</description>
		<content:encoded><![CDATA[<p>Gee. I wonder who that was. <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You also might want to read this thread: <a href="http://lists.debian.org/debian-devel/2010/05/msg00252.html" rel="nofollow">http://lists.debian.org/debian-devel/2010/05/msg00252.html</a></p>
<p>and the follow-ups: <a href="http://lists.debian.org/debian-devel/2010/05/msg00915.html" rel="nofollow">http://lists.debian.org/debian-devel/2010/05/msg00915.html</a> and <a href="http://lists.debian.org/debian-devel/2010/05/msg00887.html" rel="nofollow">http://lists.debian.org/debian-devel/2010/05/msg00887.html</a>.</p>
<p>Should keep you busy for a while. <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Conigliaro</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-111024</link>
		<dc:creator>Mike Conigliaro</dc:creator>
		<pubDate>Wed, 14 Jul 2010 22:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-111024</guid>
		<description>just ran into this one today. and it looks like someone recently created a bug report for debian:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581413</description>
		<content:encoded><![CDATA[<p>just ran into this one today. and it looks like someone recently created a bug report for debian:<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581413" rel="nofollow">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581413</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: someone</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-110203</link>
		<dc:creator>someone</dc:creator>
		<pubDate>Tue, 15 Sep 2009 15:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-110203</guid>
		<description>A related issue: world-readable home dirs.
http://www.linuxquestions.org/questions/debian-26/world-readable-home-directories-651049/
dpkg-reconfigure adduser
Lets you set or unset this. It only applies to new users.</description>
		<content:encoded><![CDATA[<p>A related issue: world-readable home dirs.<br />
<a href="http://www.linuxquestions.org/questions/debian-26/world-readable-home-directories-651049/" rel="nofollow">http://www.linuxquestions.org/questions/debian-26/world-readable-home-directories-651049/</a><br />
dpkg-reconfigure adduser<br />
Lets you set or unset this. It only applies to new users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-103299</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Thu, 19 Jun 2008 23:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-103299</guid>
		<description>It highly depends on the usecase which umask might be the right. For a shared hosting environment where everybody should only see hir files by default I would prefer 027.</description>
		<content:encoded><![CDATA[<p>It highly depends on the usecase which umask might be the right. For a shared hosting environment where everybody should only see hir files by default I would prefer 027.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pr0le</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-80204</link>
		<dc:creator>pr0le</dc:creator>
		<pubDate>Sat, 24 Nov 2007 01:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-80204</guid>
		<description>I&#039;m with you on this one... this is one of those gotcha&#039;s I&#039;ve found moving from RHEL to Ubuntu.</description>
		<content:encoded><![CDATA[<p>I&#8217;m with you on this one&#8230; this is one of those gotcha&#8217;s I&#8217;ve found moving from RHEL to Ubuntu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyn0n</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-76267</link>
		<dc:creator>cyn0n</dc:creator>
		<pubDate>Fri, 09 Nov 2007 00:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-76267</guid>
		<description>you are totally forgetting that the user perms on that file are YOURS!!

meaning I can execute whatever I want as YOU....

sometimes I think reaching out to all you &#039;normal&#039; people to use nix was a bad idea... whatever... there is just education to be had</description>
		<content:encoded><![CDATA[<p>you are totally forgetting that the user perms on that file are YOURS!!</p>
<p>meaning I can execute whatever I want as YOU&#8230;.</p>
<p>sometimes I think reaching out to all you &#8216;normal&#8217; people to use nix was a bad idea&#8230; whatever&#8230; there is just education to be had</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robvdl</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74680</link>
		<dc:creator>Robvdl</dc:creator>
		<pubDate>Sat, 27 Oct 2007 10:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74680</guid>
		<description>After reading Ubuntu Demon&#039;s post, I just realised you can change the default umask in /etc/profile, so I guess that has just answered my question above. Nice.</description>
		<content:encoded><![CDATA[<p>After reading Ubuntu Demon&#8217;s post, I just realised you can change the default umask in /etc/profile, so I guess that has just answered my question above. Nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robvdl</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74679</link>
		<dc:creator>Robvdl</dc:creator>
		<pubDate>Sat, 27 Oct 2007 09:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74679</guid>
		<description>I was just wondering. Quite a few times I have wanted to setup a shared EXT3 partition that multiple users could write to, so long I add them to the same group. However, every new file or folder a user creates on this partition, it always sets the group permissions to &quot;read only&quot; by default. I can&#039;t have people right clicking every newly created file and folder and changing the group permisions to read+write manually. So in the end, after not being able to find a way around it, I usually end up using an NTFS partition as a workaround. This has frustrated me a bit, because I don&#039;t really want to use a non-UNIX filesystem such as NTFS just to work around this problem.

I was wondering, if what you are talking about here, with the system wide umask, is what is causing this? i.e. that every newly created file or folder, the group permisions are set to &quot;read only&quot;.</description>
		<content:encoded><![CDATA[<p>I was just wondering. Quite a few times I have wanted to setup a shared EXT3 partition that multiple users could write to, so long I add them to the same group. However, every new file or folder a user creates on this partition, it always sets the group permissions to &#8220;read only&#8221; by default. I can&#8217;t have people right clicking every newly created file and folder and changing the group permisions to read+write manually. So in the end, after not being able to find a way around it, I usually end up using an NTFS partition as a workaround. This has frustrated me a bit, because I don&#8217;t really want to use a non-UNIX filesystem such as NTFS just to work around this problem.</p>
<p>I was wondering, if what you are talking about here, with the system wide umask, is what is causing this? i.e. that every newly created file or folder, the group permisions are set to &#8220;read only&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djankeet &#187; Blog Archive &#187; Default Umask In Debian</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74443</link>
		<dc:creator>djankeet &#187; Blog Archive &#187; Default Umask In Debian</dc:creator>
		<pubDate>Thu, 25 Oct 2007 22:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74443</guid>
		<description>[...] more here [...]</description>
		<content:encoded><![CDATA[<p>[...] more here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Default umask &#171; Ubuntu Demon&#8217;s blog</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74228</link>
		<dc:creator>Default umask &#171; Ubuntu Demon&#8217;s blog</dc:creator>
		<pubDate>Wed, 24 Oct 2007 22:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74228</guid>
		<description>[...] Filed under: english &#8212; ubuntudemon @ 10:55 pm   This is a reaction to Aaron Toponce&#8217;s blog post about a better default for [...]</description>
		<content:encoded><![CDATA[<p>[...] Filed under: english &#8212; ubuntudemon @ 10:55 pm   This is a reaction to Aaron Toponce&#8217;s blog post about a better default for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Balneaves</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74226</link>
		<dc:creator>Scott Balneaves</dc:creator>
		<pubDate>Wed, 24 Oct 2007 22:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74226</guid>
		<description>Nope, not a bug.  Safe behavior:

sbalneav:x:1000:
atoponce:x:1001:
shared:x:2000:sbalneav,atoponce

sudo mkdir /home/shared
sudo chown nobody:shared /home/shared
sudo chmod 770 /home/shared

cd /home/shared
date &gt; YouCanReadThisButNotWriteWhichIsTheSafeDefault


I&#039;d say the safe, read only group behavior is the preferred one.

Scott</description>
		<content:encoded><![CDATA[<p>Nope, not a bug.  Safe behavior:</p>
<p>sbalneav:x:1000:<br />
atoponce:x:1001:<br />
shared:x:2000:sbalneav,atoponce</p>
<p>sudo mkdir /home/shared<br />
sudo chown nobody:shared /home/shared<br />
sudo chmod 770 /home/shared</p>
<p>cd /home/shared<br />
date &gt; YouCanReadThisButNotWriteWhichIsTheSafeDefault</p>
<p>I&#8217;d say the safe, read only group behavior is the preferred one.</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74202</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 24 Oct 2007 21:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74202</guid>
		<description>@troll-  Uh, I mentioned that there are better ways for controlling who has access to files, and that I wouldn&#039;t be covering them, such as FACLs.  However, that still doesn&#039;t answer the question of why umask is set to 022 and not 002.  Thus, supporting my belief that no one can give me a suitable answer to why this is the case.

@Mike-  Frustrating, isn&#039;t it?  However, even root has it&#039;s on UPG, so it can also benefit from 002.</description>
		<content:encoded><![CDATA[<p>@troll-  Uh, I mentioned that there are better ways for controlling who has access to files, and that I wouldn&#8217;t be covering them, such as FACLs.  However, that still doesn&#8217;t answer the question of why umask is set to 022 and not 002.  Thus, supporting my belief that no one can give me a suitable answer to why this is the case.</p>
<p>@Mike-  Frustrating, isn&#8217;t it?  However, even root has it&#8217;s on UPG, so it can also benefit from 002.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74201</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 24 Oct 2007 21:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74201</guid>
		<description>As far as I know, setting a default umask of 002 is current best practice.  Debian and Ubuntu are my favorite distros--didn&#039;t know they didn&#039;t do this.

(root might be an exception that would want 022.)</description>
		<content:encoded><![CDATA[<p>As far as I know, setting a default umask of 002 is current best practice.  Debian and Ubuntu are my favorite distros&#8211;didn&#8217;t know they didn&#8217;t do this.</p>
<p>(root might be an exception that would want 022.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian &#187; Default Umask In Debian</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74183</link>
		<dc:creator>Christian &#187; Default Umask In Debian</dc:creator>
		<pubDate>Wed, 24 Oct 2007 19:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74183</guid>
		<description>[...] aaron wrote an interesting post today onHere&#8217;s a quick excerptIf the user was ‘aaron’, then he also had an ‘aaron’ UPG. Same went with ‘tom’, ‘jane’ and ’spot’– each user having their own private group with themselves being the only member of that group. So, the question follows: is the umask 022 &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] aaron wrote an interesting post today onHere&#8217;s a quick excerptIf the user was ‘aaron’, then he also had an ‘aaron’ UPG. Same went with ‘tom’, ‘jane’ and ’spot’– each user having their own private group with themselves being the only member of that group. So, the question follows: is the umask 022 &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: troll</title>
		<link>http://pthree.org/2007/10/24/default-umask-in-debian/#comment-74181</link>
		<dc:creator>troll</dc:creator>
		<pubDate>Wed, 24 Oct 2007 19:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/10/24/default-umask-in-debian/#comment-74181</guid>
		<description>Modern operating systems use ACLs. Yawn. Moot rant is moot.</description>
		<content:encoded><![CDATA[<p>Modern operating systems use ACLs. Yawn. Moot rant is moot.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

