<?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>hyperscale.at &#187; vps</title>
	<atom:link href="http://asherbond.com/blog/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>http://asherbond.com/blog</link>
	<description>Service-orientation-as-a-Service, SOA, PaaS, IaaS, and Economies of Autoscale</description>
	<lastBuildDate>Sun, 22 Jan 2012 00:18:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>dev/null, screen, and ptmx permission problems in xen vps</title>
		<link>http://asherbond.com/blog/2008/07/08/devnull-screen-and-ptmx-permission-problems-in-xen-vps/#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=devnull-screen-and-ptmx-permission-problems-in-xen-vps</link>
		<comments>http://asherbond.com/blog/2008/07/08/devnull-screen-and-ptmx-permission-problems-in-xen-vps/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 16:14:02 +0000</pubDate>
		<dc:creator>Asher Bond</dc:creator>
				<category><![CDATA[systems design for scale]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dev/null]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ptmx]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[unix permissions]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.asherbond.com/blog/?p=40</guid>
		<description><![CDATA[I got switched to a Xen VPS (debian linux) recently and discovered that some applications couldn&#8217;t write to /dev/null. It turns out that /dev/null was actually only readable and writable by root. I logged in as root and changed the permissions so that /dev/null was readable and writable by all. chmod 666 /dev/null This solved [...]]]></description>
			<content:encoded><![CDATA[<p>I got switched to a Xen VPS (debian linux) recently and discovered that some applications couldn&#8217;t write to /dev/null. It turns out that /dev/null was actually only readable and writable by root. I logged in as root and changed the permissions so that /dev/null was readable and writable by all.</p>
<p>chmod 666 /dev/null</p>
<p>This solved the problem.</p>
<p>I was still having trouble with some shell accounts, though, because no users could access screen (virtual terminals). The error message was that no PTYs were available. I solved this problem by giving these users access to the /dev/ptmx directory. This directory was initially only readable, writable, and executable by root, but I made it so that anyone in the admin group could read write and execute this directory.</p>
<p>chown root:adm /dev/ptmx</p>
<p>chmod 770 /dev/ptmx</p>
<p>If you want any user to be able to use screen, you will have to do this:</p>
<p>chmod 777 /dev/ptmx</p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;bodytext=I%20got%20switched%20to%20a%20Xen%20VPS%20%28debian%20linux%29%20recently%20and%20discovered%20that%20some%20applications%20couldn%27t%20write%20to%20%2Fdev%2Fnull.%20It%20turns%20out%20that%20%2Fdev%2Fnull%20was%20actually%20only%20readable%20and%20writable%20by%20root.%20I%20logged%20in%20as%20root%20and%20changed%20the%20permissions%20so%20tha" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/sphinn.png" class="sociable-img sociable-hovers" title="Sphinn" alt="Sphinn" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;notes=I%20got%20switched%20to%20a%20Xen%20VPS%20%28debian%20linux%29%20recently%20and%20discovered%20that%20some%20applications%20couldn%27t%20write%20to%20%2Fdev%2Fnull.%20It%20turns%20out%20that%20%2Fdev%2Fnull%20was%20actually%20only%20readable%20and%20writable%20by%20root.%20I%20logged%20in%20as%20root%20and%20changed%20the%20permissions%20so%20tha" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;t=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/mixx.png" class="sociable-img sociable-hovers" title="Mixx" alt="Mixx" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;annotation=I%20got%20switched%20to%20a%20Xen%20VPS%20%28debian%20linux%29%20recently%20and%20discovered%20that%20some%20applications%20couldn%27t%20write%20to%20%2Fdev%2Fnull.%20It%20turns%20out%20that%20%2Fdev%2Fnull%20was%20actually%20only%20readable%20and%20writable%20by%20root.%20I%20logged%20in%20as%20root%20and%20changed%20the%20permissions%20so%20tha" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;source=hyperscale.at+Service-orientation-as-a-Service%2C+SOA%2C+PaaS%2C+IaaS%2C+and+Economies+of+Autoscale&amp;summary=I%20got%20switched%20to%20a%20Xen%20VPS%20%28debian%20linux%29%20recently%20and%20discovered%20that%20some%20applications%20couldn%27t%20write%20to%20%2Fdev%2Fnull.%20It%20turns%20out%20that%20%2Fdev%2Fnull%20was%20actually%20only%20readable%20and%20writable%20by%20root.%20I%20logged%20in%20as%20root%20and%20changed%20the%20permissions%20so%20tha" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/linkedin.png" class="sociable-img sociable-hovers" title="LinkedIn" alt="LinkedIn" /></a><a rel="nofollow" target="_blank"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;t=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/myspace.png" class="sociable-img sociable-hovers" title="MySpace" alt="MySpace" /></a><a rel="nofollow" target="_blank"  href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;h=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/newsvine.png" class="sociable-img sociable-hovers" title="NewsVine" alt="NewsVine" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://reddit.com/submit?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/reddit.png" class="sociable-img sociable-hovers" title="Reddit" alt="Reddit" /></a><a rel="nofollow" target="_blank"  href="http://slashdot.org/bookmark.pl?title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/slashdot.png" class="sociable-img sociable-hovers" title="Slashdot" alt="Slashdot" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F%20dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/techmeme.png" class="sociable-img sociable-hovers" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" /></a><a rel="nofollow" target="_blank"  href="http://technorati.com/faves?add=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/technorati.png" class="sociable-img sociable-hovers" title="Technorati" alt="Technorati" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps%20-%20http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;desc=I%20got%20switched%20to%20a%20Xen%20VPS%20%28debian%20linux%29%20recently%20and%20discovered%20that%20some%20applications%20couldn%27t%20write%20to%20%2Fdev%2Fnull.%20It%20turns%20out%20that%20%2Fdev%2Fnull%20was%20actually%20only%20readable%20and%20writable%20by%20root.%20I%20logged%20in%20as%20root%20and%20changed%20the%20permissions%20so%20tha" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/ekudos.png" class="sociable-img sociable-hovers" title="eKudos" alt="eKudos" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;link=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;title=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;srcURL=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;srcTitle=hyperscale.at+Service-orientation-as-a-Service%2C+SOA%2C+PaaS%2C+IaaS%2C+and+Economies+of+Autoscale" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://asherbond.com/blog/feed/" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><a rel="nofollow" target="_blank"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fasherbond.com%2Fblog%2F2008%2F07%2F08%2Fdevnull-screen-and-ptmx-permission-problems-in-xen-vps%2F&amp;t=dev%2Fnull%2C%20screen%2C%20and%20ptmx%20permission%20problems%20in%20xen%20vps&amp;s=I%20got%20switched%20to%20a%20Xen%20VPS%20%28debian%20linux%29%20recently%20and%20discovered%20that%20some%20applications%20couldn%27t%20write%20to%20%2Fdev%2Fnull.%20It%20turns%20out%20that%20%2Fdev%2Fnull%20was%20actually%20only%20readable%20and%20writable%20by%20root.%20I%20logged%20in%20as%20root%20and%20changed%20the%20permissions%20so%20tha" ><img src="http://asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/tumblr.png" class="sociable-img sociable-hovers" title="Tumblr" alt="Tumblr" /></a><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://asherbond.com/blog/2008/07/08/devnull-screen-and-ptmx-permission-problems-in-xen-vps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching using memcached
Object Caching 275/317 objects using memcached
Content Delivery Network via Amazon Web Services: S3: cdn.asherbond.com

Served from: asherbond.com @ 2012-02-04 18:29:39 -->
