Here is my quick test I'm using and I'm running OpenBD v1.3 on Mac OS
X 10.6.3.
Thanks,
Charlie
<cfset theDir = "/System/Library/iDontHaveRights">
<cftry>
<cfdirectory action="create" directory="#theDir#" mode="775">
<cfcatch type="any">
<cfoutput>#cfcatch.Detail# -- #cfcatch.ErrNumber# --
#cfcatch.Message#</cfoutput>
</cfcatch>
</cftry>
<cfdump>
On May 2, 6:23 pm, Matthew Woodward <[email protected]> wrote:
> On Sun, May 2, 2010 at 6:03 PM, Skellington <[email protected]> wrote:
> > No, it does not throw an error, it's just goes about it's happy way.It
> > will throw an error if the dir already exists though.
>
> The tricky thing to isolate is if it's only an occasional failure. If you
> can narrow it down to an example where it always fails we can look into it.
>
> It really should throw an error if it can't create the directory I'd think,
> but I'd have to test to verify.
> --
> Matthew Woodward
> [email protected]http://blog.mattwoodward.com
> identi.ca/Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html
>
> --
> Open BlueDragon Public Mailing List
> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
> mailing list -http://groups.google.com/group/openbd?hl=en
>
> !! save a network - please trim replies before posting !!
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!