Cacls.exe Cannot Apply Security to Root of a Volume Mount Point
This article was previously published under Q237701
This article has been archived. It is offered "as is" and will no longer be updated.
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:
- 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
- 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:Fprocessed dir: c:\hostcacls c:\host [or cacls c:\host\.] (shows applied permissions as expected)everyone: (OI)(CI)Fuser1:(OI)(CI)F
- 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
- 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."
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 cannot correctly interpret Volume Mount Points.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Article ID: 237701 - Last Review: 12/05/2015 15:17:24 - Revision: 3.2
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Datacenter Server
- kbnosurvey kbarchive kbenv kbprb kbui KB237701