Permission Map

Who may do what, and where?

The Permission Map shows the NTFS permissions of a whole file server at a glance: where inheritance breaks, who is in a list by name instead of through a group, which accounts no longer exist and where everybody may write.

Download Dodo Multitool
Permission Map of D:\Data with the HR folder: inheritance off and a user granted directly

Why it is this fast

In the MFT every file and folder carries just a number, the security ID in $STANDARD_INFORMATION. The security descriptors themselves, owner and access list, are stored once per drive in $Secure:$SDS. A file server with millions of files usually has only a few thousand distinct ones.

So the dodo reads $SDS once and the MFT once, with the same reader as the Space Map and Duplicates, and joins the two. No GetNamedSecurityInfo per file. Everything costly, parsing lists, resolving accounts, working out effective rights, runs once per descriptor instead of once per file.

For comparison, the slow path, folder by folder: C:\Users with 475,000 folders and 3.3 million files takes 12 seconds that way, without admin rights. The MFT path is faster and checks the files as well, not just the folders.

What it finds

  • Broken inheritance: the folder keeps a list of its own; changes further up no longer reach it. On the map it has a light border.
  • Explicit entries on top of the inherited ones, usual for department and project folders.
  • Users granted directly instead of through a group. When the person changes department or leaves, the right stays behind. Home folders granting their own user are meant that way.
  • Orphaned accounts: deleted, only S-1-5-21-… is left in the list. A domain that doesn't answer right now does not make an account an orphan.
  • Everybody may write: Everyone, Authenticated Users, Users or Domain Users with write, modify or full control.
  • No access list (NULL DACL): then anybody may do anything, including changing permissions and taking ownership.
  • Deny entries, which beat any allow that comes through a group.
  • Files with permissions of their own, which Explorer doesn't show at the folder.

Findings sit where permissions are set, not on every folder that inherits them. "Everyone may modify" on D:\Data\Transfer is one finding with "applies to 3,412 folders below", not 3,412 findings. Each one says in two sentences why it matters and what to do.

What Windows sets up by itself stays quiet: the Windows folder, the program folders, the inside of the profiles and the default permissions of C:\, C:\Users and C:\ProgramData.

Same list, same colour

Tree or map, as in the Space Map. The colours don't follow the file type, though, but the rights set: folders with the same access list share a colour and a letter, whoever owns them. Where the colour changes, somebody set permissions.

Next to it all rights sets are listed with the number of their folders; a click lights them up on the map. Tiles grow with the number of files or with the size, as you choose.

Permission Map as a map coloured by rights set, with the list of rights sets beside it
D:\Data with 27 rights sets: the 1,640 project folders share set A, accounting, engineering, sales and the archive each have a colour of their own.

Effective access for …

Type an account, one from the access lists or any name the domain knows, and tree and map show what it may do: no access, read, write, modify or full control. Groups and deny entries are taken into account.

The work is done by AuthzAccessCheck, the way Windows itself checks, and only once per descriptor. That is why the answer is there at once, even for a whole drive.

Map of D:\Data coloured by what m.kraus may do
Effective access for m.kraus from sales: modify in sales and the projects, read in the archive, nothing in accounting, engineering or HR.

Shares

The machine's shares come with their share permissions (NetShareEnum, level 502), and their folders are marked in the tree. Over the network, the stricter of share and NTFS permissions wins. A share with "Everyone: full control" counts as open: then the NTFS permissions alone decide.

The Transfer folder with its access list and the two shares that reach it
The transfer folder: Everyone may modify, in NTFS and on the Transfer share alike. The open Data share gets there too.

For the documentation and the RMM

The export writes a CSV for Excel: either just the folders that set permissions themselves, with their full list, which is what an audit needs, or every folder with its rights set and findings.

For scripts there is dodo-cli perms D:\Data. It lists the findings and the most used rights sets, with --account OFFICE\a.huber the rights of one account, with --csv the documentation. Exit code 2 if Everyone, Authenticated Users or Domain Users may write anywhere or a folder has no access list at all, 1 for orphaned accounts or users granted directly. That makes it a check for the RMM.

With the quick start it becomes a shortcut on the server: dodo-multitool.exe perms D:\Data --only opens just the Permission Map and starts reading.

Limits

It is only fast on local NTFS with admin rights. The app always runs as admin; dodo-cli needs an admin terminal for it. For a file server that means: start it on the server itself, not over the share. If people are working on it, Gentle mode reads at a slower pace.

Network paths, ReFS (which has no $Secure) and FAT are walked folder by folder, asking each one for its permissions. That takes longer, and files are not checked that way, only folders. The Permission Map says which path it took.

It changes no permissions. It shows where something needs doing; the change itself is made in Explorer, with icacls or through the groups.