<?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>
	<pubDate>Wed, 03 Dec 2008 23:09:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-RC1-10015</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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'm with you on this one... this is one of those gotcha's I'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 'normal' 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'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 "read only" by default. I can'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'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 "read only".</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 &#62; YouCanReadThisButNotWriteWhichIsTheSafeDefault


I'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't be covering them, such as FACLs.  However, that still doesn'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't it?  However, even root has it'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't know they didn'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>
