#2 Directory.CreateDirectory fails under certain conditions

closed-accepted
General (3)
5
2004-01-25
2003-09-29
No

System.IO.Directory.CreateDirectory might fail even
when the directory already exists if for any reason the
current user doesn't have access to the any of the
parent directories (a common situation for asp.net
applications).

The following patch checks if the directory already
exists before trying to create it.

Discussion

  • Nicko Cadell

    Nicko Cadell - 2003-10-17
    • labels: --> General
    • assigned_to: nobody --> ncadell
     
  • Nicko Cadell

    Nicko Cadell - 2004-01-25

    Logged In: YES
    user_id=278872

    commited patch to CVS

     
  • Nicko Cadell

    Nicko Cadell - 2004-01-25
    • status: open --> closed-accepted
     

Log in to post a comment.