No $s->uid in Apache2
John Williams <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
I could use some suggestions from the dev group on how to deal with the lack of $s->uid in mod_perl-2. <http://perl.apache.org/docs/2.0/user/porting/compat.html#C__s_E_gt_uid_> Without it, there is no way to know what user the server will be running as, so we don't know what ownership to give the files we create at server startup time. We create the MasonDataDir, with the obj and cache directories at server startup if they are not already there, but we won't be able to write to them later if they don't get the right ownership. (And o+w would be insecure.) This affects running t/08-ah.t as root, because it deletes the obj and cache dir after each set of tests. Maybe we can make the test framework create those directories itself, and warn the users to do likewise. But how annoying is that going to be for the users? This may affect preloads as well, since that is done at server startup time. ~ John Williams ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click