when listing a directory for which i do not have permissions to the parent folder, life is normal:
> ls \\server\unc\path
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 8/25/2010 2:26 PM bogus
now changing to that directory fails. why? i have permissions to \\server\unc\path, just not to \\server\unc
> cd \\server\unc\path
Set-Location : An object at the specified path \\server\unc does not exist.
At line:1 char:3
+ cd <<<< \\server\unc\path
i can open up the directory through windows explorer. powershell must be trying to change directories through the entire unc path? it seems that would defeat a lot of useful functionality regarding permissions management, so i doubt that's what it's doing.
any thoughts/ideas greatly appreciated!