Posted by Frank Hale on 1999-03-19
> > I take this back it will update files only if I create them manually > and > > then chmod 777 on them to give them full permissions. I wish I didn't > > have to do this, I mean I don't have to do it on my box which is a > linux > > box. And my webhost runs the same OS as me and same version of Perl so > > why do I have to do this on there server? > > Its due to the way they have their permissions setup for user > accounts. The perl program is run as nobody or as www or httpd, and > tries to write to a directory owned by you, and so it does not have > the permission to create the file properly. Thanx Matty. I was not aware of that. It took me about 1 hour to resolve the problem and the scripts are working correctly. I just got used to testing them on my machine using Apache and having total access to my machine. Perl and Apache make one hell of a nice pair. -- From: Frank Hale Email: frankhale@xxxxxxxx.xxx.xxx ICQ: 7205161 Website: http://www.franksstuff.com
Previous post | Next post | Timeline | Home