In article <e7********************************@4ax.com>,
Jerry <su*********@lycos.com> wrote:
Hi All:
Is there any way I can get my script to be able to create and CHMOD
folders and files???
I always get the following error:
mkdir(TESTDIR): Permission denied in /usr/www/users...
Is there a way I can enable the script to do all that by placing a
.htaccess file which contains some permissive directives?
Nope, apache's web server doesn't do this. Sorry.
You're running as the web server UID and don't have permissions to write
in that directory. Fix the directory's permissions accordingly.
Or create a perl/php script and run it as _your_ UID using cgiwrap
http://cgiwrap.sourceforge.net/
If you don't have root or can't get your webmaster to setup cgiwrap for
you, you'll have to rethink your approach.
--
DeeDee, don't press that button! DeeDee! NO! Dee...