From: "Mark J. Reed" Date: 2003-12-06T08:17:07+09:00 Subject: Re: Dir.mkdir fails On Sat, Dec 06, 2003 at 07:05:08AM +0900, Jesper Olsen wrote: > From a mod_ruby cgi_script I try to use > > Dir.mkdir("mydir") > > to create a new directory via a web application. > For some reason this fails How is it failing? What is the error being reported or exception being thrown? Is it possible that you're trying to create the directory underneath a directory that doesn't exist? As long as the argument is untainted, Dir.mkdir should be allowed at $SAFE == 1. -Mark