Hey all... I'm trying to slap together a quick & dirty CMS for a client
and I'm having trouble writing back to the files. All permissions
default to 644, and I'd like to be able to write to any file without
having to change them away from their default settings.
My plan is to chmod the file 646, write to it, close it, and then chmod
it back to 644, but I'm getting errors that I can't chmod the file
becuase I (the web server) don't own it. So, I'm trying to chmod using
exec, but that doesn't seem to work either...
Anyone run into an issue like this and/or seen a workaround?
I can't change anything about the server configuration, so I need to do
this all from the script level.
Thanks!
-Rob
--
Rob Maurizi | rhm design
email@hidden
www.rhmdesign.com
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.