<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9010484837797237667</id><updated>2011-04-21T12:58:38.343-07:00</updated><category term='Community Housing Network'/><category term='NoMonthlyFees'/><title type='text'>My Tech Confusion</title><subtitle type='html'>This is a blog for me. If anyone else wants to read it, please feel free. My main purpose is to record technical issues I run into when I am working on a client's system and any steps I have to take to solve them.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tech-confusion.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9010484837797237667/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tech-confusion.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Greg Peters</name><uri>http://www.blogger.com/profile/16002693445478814049</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_9Ts8RihAW7A/S1_CRZEsUCI/AAAAAAAAD6U/vpb5dgTq9HE/S220/Greg.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9010484837797237667.post-5651827124570660713</id><published>2008-01-03T19:11:00.001-08:00</published><updated>2008-01-03T19:23:59.334-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Community Housing Network'/><category scheme='http://www.blogger.com/atom/ns#' term='NoMonthlyFees'/><title type='text'>Community Housing Network, permissions, and NoMonthlyFees.com</title><content type='html'>Worked on CHN's site tonight.  We had run into a problem in that suddenly the server on NoMonthlyFees (CHN's hosting service) wasn't behaving properly.  It turned out that the server which used to run as userid "communit" was now running as "nobody".  This was causing a problem because the server needed to be able to write to a particular directory and it couldn't because "communit" owned it.&lt;br /&gt;&lt;br /&gt;We had some other systems running under the CGI directory which also counted on running as communit, so I needed to address the situation immediately.  NoMonthlyFees support folks insisted that this was as it had always been (couldn't be as our system has been running fine up until the past few weeks).&lt;br /&gt;&lt;br /&gt;I solved the problem by creating a script which would create a copy of the directory in question.&lt;br /&gt;&lt;br /&gt;First, using my FTP client, I moved the current directory to a new location.  I then set the permissions on the parent directory to 777 (&lt;span style="font-family: courier new;"&gt;chmod 777&lt;/span&gt;) -- a security risk, I know, but it was only open for the duration of this process.  Then I ran the script which created the new directory and copied the contents of the original directory:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mkdir ourstuff&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;cp -r ourstuff.old/* ourstuff/.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then all I had to do was reset the permissions (&lt;span style="font-family: courier new;"&gt;chmod 755&lt;/span&gt;) on the parent directory and delete the script.&lt;br /&gt;&lt;br /&gt;Ironically, in the process of trying to repair the systems running out of the CGI directory (HomeShare and Empowerment links), I discovered that scripts running under CGI &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;do&lt;/span&gt;&lt;/span&gt; run as "communit", so I actually didn't need to do anything.&lt;br /&gt;&lt;br /&gt;Why would NoMonthlyFees run PHP scripts as "nobody" and CGI scripts as "communit"?  I have no clue, but I'm not going to point it out to them as it will only lead to trouble.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9010484837797237667-5651827124570660713?l=tech-confusion.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-confusion.blogspot.com/feeds/5651827124570660713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9010484837797237667&amp;postID=5651827124570660713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9010484837797237667/posts/default/5651827124570660713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9010484837797237667/posts/default/5651827124570660713'/><link rel='alternate' type='text/html' href='http://tech-confusion.blogspot.com/2008/01/community-housing-network-permissions.html' title='Community Housing Network, permissions, and NoMonthlyFees.com'/><author><name>Greg Peters</name><uri>http://www.blogger.com/profile/16002693445478814049</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_9Ts8RihAW7A/S1_CRZEsUCI/AAAAAAAAD6U/vpb5dgTq9HE/S220/Greg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9010484837797237667.post-1244118384968806908</id><published>2008-01-03T19:08:00.000-08:00</published><updated>2008-01-03T19:09:49.413-08:00</updated><title type='text'>Intro for the Curious</title><content type='html'>This is a blog for me.  If anyone else wants to read it, please feel free.  My main purpose is to record technical issues I run into when I am working on a client's system and any steps I have to take to solve them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9010484837797237667-1244118384968806908?l=tech-confusion.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-confusion.blogspot.com/feeds/1244118384968806908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9010484837797237667&amp;postID=1244118384968806908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9010484837797237667/posts/default/1244118384968806908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9010484837797237667/posts/default/1244118384968806908'/><link rel='alternate' type='text/html' href='http://tech-confusion.blogspot.com/2008/01/intro-for-curious.html' title='Intro for the Curious'/><author><name>Greg Peters</name><uri>http://www.blogger.com/profile/16002693445478814049</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_9Ts8RihAW7A/S1_CRZEsUCI/AAAAAAAAD6U/vpb5dgTq9HE/S220/Greg.jpg'/></author><thr:total>0</thr:total></entry></feed>
