From: cean@best.com (cean perkins) Date: Wed, 18 Sep 96 07:14:08 GMT Newsgroups: best.www I (until just a few short weeks ago) was running this nifty little perl script that took a simple web form, webified the contents and saved the information in a new html file. Basically I used this as a simple news generator, so I could quickly update current events on line with out having to manually create HTML files and links and also because I have a couple other people who help me update the news files who obviously do do not have direct access to my BEST account.. To actually run the program I used to use this stuid C program to actually launch the perl code. The code looks like this: main(argc,argv) int argc; char **argv; { execv("./news.pl",argv); } This program had its permissions set as follows: -rwsr-x--- 1 cean mosaic 13824 Aug 28 15:05 news.cgi This would set all the new HTML files news.pl was creating with me as the owner ... and everything worked marvously great. :-) Now(again, only in the last few weeks), this doesn't seem to be working anymore. No longer is it creating the files with me as the owner, but instead with 'nobody' as the owner. Also now that it isn't saving the files with me as the owner, it doesn't seem to be able to write into any directory that isn't set to '777' where before it would write into directories set with just 750. This has caused all sorts of problems, because I can't get directories set to 777 to open up in a browser AND even if I could, I can't open up HTML files owned by 'nobody'. Is there any way to fix this? Anyway to make HTML files created by CGI scripts viewable? Thanks, Cean
From John's Useful Posting Archive (JUPA)
Maintained by John Callender
John's Home Page
Archive created with babymail