Cacls.exe Cannot Apply Security to Root of a Volume Mount Point

ID: Q237701


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SYMPTOMS

When you try to use the Windows 2000 Cacls.exe tool to set permissions on the root of an NTFS volume, you may be unable to do so, and you may receive an error message. Instead, permissions may be applied to the folder itself and not the underlying mounted volume root. To view this problem:

  1. Use Cacls.exe to view the permissions on a volume mount point. For this example:

    C: is the host NTFS volume.
    C:\host is the Volume Mount Point that mounts another NTFS volume.

    
    cacls.exe c:\host   (shows applied permissions)
    everyone: (OI)(CI)F 


  2. Use Cacls.exe to apply additional permissions to the volume, and then view applied permissions. Note that it appears that the permissions are applied correctly as in the following example:
    
    cacls c:\host\. /E /G user1:F
    processed dir: c:\host
    cacls c:\host    [or cacls c:\host\.] (shows applied permissions 
    as expected)
    everyone: (OI)(CI)F
    user1:(OI)(CI)F 


  3. Assign a drive letter to the mounted volume (drive D), and then run Cacls.exe against drive D or view the properties of the volume in Disk Management:
    
    cacls D:
    everyone: (OI)(CI)F 


  4. Note that the permissions are not applied to the root of drive D as expected, but are instead applied only to the folder named "C:\host."



CAUSE

This problem can occur if you try to use the Cacls.exe tool to set permissions on the root of an NTFS volume that is mounted using a Volume Mount Point. The Cacls.exe tool can not correctly interpret Volume Mount Points.


RESOLUTION

To resolve this problem, use Disk Management to temporarily assign a drive letter to the mounted volume, and then apply permissions to the root of the volume using Cacls.exe against the assigned drive letter, or apply permissions using the Security tab while viewing the properties of the volume in Windows Explorer.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords : kbenv kbtool kbui
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.