Re: mkdir will not work with a variable

2003-02-16 Thread Tom McKellips
Ok, I got it now. You mentioned tainted and I started looking at that closer. The variables were not properly untainted before using them to make a directory. Thanks for the help Tom On Thu, 13 Feb 2003 20:49:45 -0500, Wiggins d'Anconia wrote > Tom McKellips wrote: > > I tried your line and the

Re: mkdir will not work with a variable

2003-02-13 Thread Wiggins d'Anconia
Tom McKellips wrote: I tried your line and the only thing that happens is I get an error page in the browsererror 500 and the only thing I can find in the log files is premature end of script headers. I have tried the script with and without the -T set still no luck either way. Had you alread

Re: mkdir will not work with a variable

2003-02-13 Thread Tom McKellips
I tried your line and the only thing that happens is I get an error page in the browsererror 500 and the only thing I can find in the log files is premature end of script headers. I have tried the script with and without the -T set still no luck either way. Thanks Tom On Wed, 12 Feb 2003 20:26

Re: mkdir will not work with a variable

2003-02-12 Thread Wiggins d'Anconia
Always group reply so taht others can help and be helped by the discussion Tom McKellips wrote: Yes I have tried that and still nothing works. This is a CGI script and setuid also using setuidperl -T and the directory is 777. This is the line out of the script I am working with that is coau

Re: mkdir will not work with a variable

2003-02-11 Thread Lance
It works fine for me. I am running Activestate 5.6.1 b633 on XP here's an example of creating a recursive directory structure: my @path = split "/", "${logDir}/$logName"; pop @path;# get rid of the filename. my $concatenatedPath; foreach my $pathSegment( @path )

Re: mkdir will not work with a variable

2003-02-10 Thread Wiggins d'Anconia
Tom McKellips wrote: How do I make mkdir work with a variable? I can put mkdir '/mydir'; in a cgiscript and it will work perfect every time but if I use a variable mkdir $mydir; it will never work It does not appear to make any difference how I place " or ' or anything else. I have tested the v

mkdir will not work with a variable

2003-02-10 Thread Tom McKellips
How do I make mkdir work with a variable? I can put mkdir '/mydir'; in a cgiscript and it will work perfect every time but if I use a variable mkdir $mydir; it will never work It does not appear to make any difference how I place " or ' or anything else. I have tested the variable to make sure i