| Posted by theGerm on 03/29/07 13:52 
I am trying to get a script to modify a file on my linux system.  Thefile is located in /etc/squid
 
 6997741  12 -rw-r--r--   1 root root    8458 Mar 29 08:05 sites
 
 I found a script that will open the file in a text field and I can add
 a new entry at the bottom.  However when I try to write the file I get
 a error.
 
 To test I did a chmod 777 on the sites file and my php script worked
 fine.  But I am not suppose to leave this file with this type of
 premissions.
 
 What is the best thing to do to resolve this?
 [Back to original message] |