A weblog about programming in Python, C#, Java, Perl and C++ - and the occasional comment on PyCS development
new: discuss community servers on the CommunityServerWiki!
also available in XML
Copyright (c) 2002 Phillip Pearson
Thanks to Richard Bellavance and everyone who commented on that last post. And to Dave, for bringing me in so many visitors to help.
Turning the setgid bit on for the directories I want to create files in helped a little in that the created files / dirs are now owned by apache.myelin instead of myelin.myelin, but this isn't enough yet:
Warning: SAFE MODE Restriction in effect. The script whose uid is 724 is not allowed to access /home/virtual/site456/fst/var/www/html/phil/pss/users/100000 owned by uid 48 in /home/virtual/site456/fst/var/www/html/phil/pss/XMLRPC.php on line 292
Time to go figure out if I can make a setuid directory as well. I think there is a safe mode option to allow access to a file if the gids match, even if the uids don't. I'll have to talk to the host about that :)
I managed to get it working yesterday by writing a CGI that copied all of phpStorageSystem into a new directory that was owned by apache.apache. Not ideal, but it works for the moment.
More details later!
Comment on this post [ so far]