<br><br>
<div class="gmail_quote">On Wed, May 7, 2008 at 2:52 PM, Patrick O'Callaghan <<a href="mailto:pocallaghan@gmail.com">pocallaghan@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">On Wed, 2008-05-07 at 09:57 -0500, Matthew Benjamin wrote:<br>><br>><br>> On Wed, May 7, 2008 at 9:47 AM, Tim Evans <<a href="mailto:tkevans@tkevans.com">tkevans@tkevans.com</a>> wrote:<br>
><br>>         Matthew Benjamin wrote:<br>><br>>         > $myFile = "./text.txt";<br>><br>>         I would suggest a full path here instead of a relative one, to<br>>         a directory<br>
>         you know is writable by the apache user.<br>>         --<br>>         Tim Evans, TKEvans.com, Inc.    |   5 Chestnut Court<br>>         UNIX System Admin Consulting    |   Owings Mills, MD 21117<br>>         <a href="http://www.tkevans.com/" target="_blank">http://www.tkevans.com/</a>         |   443-394-3864<br>
>         <a href="http://www.come-here.com/News/" target="_blank">http://www.come-here.com/News/</a>  |   <a href="mailto:tkevans@tkevans.com">tkevans@tkevans.com</a><br>><br>><br>>         --<br>>         fedora-list mailing list<br>
>         <a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>>         To unsubscribe:<br>>         <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
><br>><br>> That did not work. Here is an example of my directory structure<br>><br>> drwxrwxrwx  2 apache   apache   4096 May  7 09:50 .<br>> drwxr-xrwx   5 apache   apache   4096 May  6 10:40 ..<br>> -rwx-w--w-    1 apache   apache    947 May  7 09:50  text.txt<br>
<br></div></div>If this is a direct cut-and-paste from your terminal, it looks from here<br>like text.txt has an extra space before it, i.e. it's " text.txt". Of<br>course that may be an artefact.<br><br>poc<br>
<font color="#888888"><br>--<br></font>
<div>
<div></div>
<div class="Wj3C7c">fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
</div></div></blockquote></div>
<div><br> </div>
<div>it's not just a mistake. I can write and read to the file if it is already created. I just can't create the file if it does not exist.<br clear="all"><br>-- <br>mB. </div>