On Tue, 2003-10-07 at 12:53, John Wilcox wrote: > > P.S. If anyone has any other ideas of how to get a PHP > script to run as a specific user/group under a Virtual > Host, I'm all ears.. All I need is for the script to > be able to mkdir as a specific user/group, but this is > proving to be more than a small challenge!
Under linux I usually set the stick bit on the container directory so that the group is always inheritted. I'v enever needed to worry about the owner given that the group contains rw perms and rwx for directories. chmod g+s container_dir Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php