Windows: List files and their permissions (access) in command line
Problem
In linux, lists files permissions, like this: In Windows, commands and don't have the options to list permissions. How is it possible to list files and their permissions using command line only?
Error Output
-rw-r--r-- 1 user user 924 2011-07-01 20:23 test.txt
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Windows: List files and their permissions (access) in command line
Use icacls: The older cacls tool is the only choice on Windows XP [although you can copy from Server 2003]. cacls does not know about some ACL modes, but displays most of them fine. In both outputs, means "object inherit" (files will inherit this ACE), is "container inherit" (containers – i.e. folders – will inherit this ACE), is "inherit only". Microsoft also used to provide an xcacls tool separately, but its functionality is now part of icacls.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix