Connecting Tech Pros Worldwide Help | Site Map

DirectorySecurity for directory with long path

Newbie
 
Join Date: Sep 2008
Posts: 1
#1: Sep 29 '08
Hi,

I previously used DirectoryInfo objects to access the DirectorySecurity object so i could enumerate the ACL for specific directories. Unfortunately the DirectoryInfo object doesn't support path lengths greater than MAX_PATH (260). Does anyone know how i can access the ACL for directories that have a path greater than MAX_PATH?

I found a very good article regarding long paths at

http://blogs.msdn.com/bclteam/archive/2007/03/26/long-paths-in-net-part-2-of-3-long-path-workarounds-kim-hamilton.aspx

but its more focused for files.


Any info / tips would be greatly appreciated. Thanks
Reply