For some background knowledge, Junction directories are used as a backwards compatibility measure within Windows 7 to help poorly written applications which use static directory paths. In order to see Junction directories you can run "dir /a" from the command prompt. Figure 1 lists all the directories on the root of the C drive. You can identify the junction directories by the
|Figure 1: Listing Junction Directories: dir /a|
|Figure 2: Listing contents of Users directory: dir C:\Users|
|Figure 3: Listing contents of "Documents and Settings" junction: dir C:\"Documents and Settings"|
|Figure 4: Listing contents of sub-junction directory: dir C:\"Documents and Settings"\David|
For more information on the AccessChk tool see the Microsoft TechNet article: http://technet.microsoft.com/en-us/sysinternals/bb664922Figure 5 shows when the results from the following command: accesschk -l -v -q "C:\Documents and Settings"
|Figure 5: Showing Permissions on Junction Directory: accesschk -l -v -q "C:\Documents and Settings"|
Why did Microsoft decided to implement it this way? That is a very good question. Since Junction Directories are used to support legacy and poorly written applications, I am going to guess that they are trying to force users into the directory structure with limited default rights on junction directories....Just a guess though.