<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001106" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001106</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/chmod-perl-failure#comment-1004839</link>
    <description> &lt;p&gt;Tanks for your insterest in helping, but I figured out the problem.&lt;/p&gt;
&lt;p&gt;Instead of:&lt;br /&gt;
&lt;BLOCKQUOTE&gt;code:&lt;/blockquote&gt;&lt;/p&gt;
&lt;pre&gt;
chmod (755, $file_path, $dir) | | die &quot;failed chmod  Reason: $!&quot;;
[/code]

It should be:
&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;
chmod (0755, $file_path, $dir) | | die &quot;failed chmod  Reason: $!&quot;;
[/code]

You&#039;ll notice it won&#039;t work without the zero, or a 1, whichever you want.

Thanks again.

Richard

------------------
     &lt;a href=&quot;mailto:richard@brevig.com&quot; class=&quot;bb-email&quot;&gt;richard@brevig.com&lt;/a&gt;      

&quot;I&#039;m so wracked with guilt. I don&#039;t want to stop therapy 
because I&#039;m afraid to take the income away from my therapist. 
He&#039;s got kids in college.&quot;
-- Tim Halpern &lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;</description>
     <pubDate>Fri, 19 May 2000 17:23:00 +0000</pubDate>
 <dc:creator>richjb</dc:creator>
 <guid isPermaLink="false">comment 1004839 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/chmod-perl-failure#comment-1004838</link>
    <description> &lt;p&gt;Can you post the error message in your error log file so that we can help you better?&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 21:54:00 +0000</pubDate>
 <dc:creator>hcshim</dc:creator>
 <guid isPermaLink="false">comment 1004838 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/chmod-perl-failure#comment-1004837</link>
    <description> &lt;p&gt;I made the script do a whoami call and print it out, the results are my name; so they should be executed under my rights.  If there is not syntax error, then I will contact my host.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Richard&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
     &lt;a href=&quot;mailto:richard@brevig.com&quot; class=&quot;bb-email&quot;&gt;richard@brevig.com&lt;/a&gt;      &lt;/p&gt;
&lt;p&gt;&quot;I&#039;m so wracked with guilt. I don&#039;t want to stop therapy&lt;br /&gt;
because I&#039;m afraid to take the income away from my therapist.&lt;br /&gt;
He&#039;s got kids in college.&quot;&lt;br /&gt;
-- Tim Halpern&lt;/p&gt;
 </description>
     <pubDate>Fri, 12 May 2000 13:22:00 +0000</pubDate>
 <dc:creator>richjb</dc:creator>
 <guid isPermaLink="false">comment 1004837 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/chmod-perl-failure#comment-1004836</link>
    <description> &lt;p&gt;CGI scripts execute as user &quot;nobody&quot; if the server admin didn&#039;t want that user to have the ability to chmod files then he could set it to that.&lt;/p&gt;
 </description>
     <pubDate>Thu, 11 May 2000 21:00:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004836 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
