Another solution would be to place each change to the files in a MySQL table, and then have a cron that is run every X minutes read this table, and makes the actual changes.... I'm not sure if this idea is suitable in your situation due to the time lag between the client asking for the change, and the change happening. In some situations this is acceptable.
Andrew ----- Original Message ----- From: "Mat Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 12:24 PM Subject: [PHP] php special permissions Hi, I am building a web interface to the vacation autoresponder program on linux. I let users login, edit their message and enable the autoresponder. The last step (enabling) is where the fun begins because php is run as apache on my box, and each users' .vacation.msg and .forward are not owned by apache. So you say, ok lets make apache run as group 'vacation' and also change the ownership on .vacation.msg and .forward. Well this makes sendmail cry out because it doesn't like having group-writable .forward files. How would you guys suggest i did this? I can post code if required. -- Mat Harris Network/Systems Administrator Genestate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php