Python Community Server: Development

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!

SunMonTueWedThuFriSat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

[ Sep ] [ Nov ]

the locals
also available in XML
Copyright (c) 2002 Phillip Pearson
spread the dot

2002-10-4

Getting there

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]