NTFS Permission Inheritance: How Folders Pass Rights Down


NTFS permission inheritance is the mechanism that lets a single access control entry on a parent folder govern everything beneath it. Grant Modify to a project team at the top of a tree and every new subfolder and file opens to that team without another visit to the Security tab.

The same mechanism explains most permission puzzles: a file that refuses access to a group which supposedly has it, a folder whose rights change when it is moved, or new files in a share that behave differently from the old ones.

How Inheritance Flags Work

Every access control entry can carry flags that describe where it applies. The two that matter most are Object Inherit, which passes the entry to files, and Container Inherit, which passes it to subfolders. A typical entry granting Modify to a group on a folder carries both, so the interface describes it as applying to this folder, subfolders and files.

Two more flags refine the behavior. Inherit Only means the entry does not apply to the object that holds it, only to children, which is how a folder can hand rights down without granting them to itself. No Propagate Inherit means the next level receives the entry but does not pass it further, which is how a home folder grants full control to its user without every file re-inheriting the right.

Entries that arrive from a parent also carry an inherited marker. In the Explorer security dialog the checkboxes for those entries are greyed out, and in command-line listings each one is tagged with an I. That marker is the fastest way to tell where a troublesome permission came from.

Explicit vs Inherited Entries

An explicit entry is written directly on the object. An inherited entry is a copy that Windows evaluates on the child but that the child cannot change. This distinction causes the most common complaint: a user tries to remove a permission on a file and the Remove button is unavailable, because it was never set there.

Evaluation follows a fixed order. An explicit deny wins over everything, then an explicit allow, then an inherited deny, then an inherited allow. One matching deny is enough to block access, no matter how many allows sit beside it, which is why a stray deny high in a tree can defeat a carefully built set of grants further down.

The same trustee can appear twice on one object, once explicitly and once through inheritance, sometimes with different rights. Windows evaluates both, and the result is usually the union of the allows unless a deny intervenes. Listing the ACL with its inherited markers resolves the ambiguity faster than clicking through dialog boxes.

Moving and Copying Change Rights

Moving a file or folder inside the same volume is a rename, not a new object. The security descriptor travels unchanged, inherited entries included, so the object can keep rights that its new parent would never grant. Moving the same folder to a different volume is a copy followed by a delete, and the copy starts over with the destination's inherited permissions.

A copy always creates a new object. Its inherited entries are recalculated from the folder it lands in, so the copy may gain access the original never had or lose access it relied on. Explicit entries are generally carried over, so a deny set months ago can follow a file and block a group nobody remembers restricting.

That explains a classic share problem. A folder is locked down, then moved into a more open share for convenience, and the old rights come with it. Before moving data between folders, check what the destination passes down, not only what the source currently allows.

Blocking Inheritance Safely

Disabling inheritance offers two choices, and they are not equivalent. Converting inherited permissions into explicit ones copies the current entries onto the object and then severs the link, so access stays the same but stops tracking the parent. Removing all inherited permissions discards those entries and leaves only what is explicit, which usually locks nearly everyone out.

For most repairs, convert first, then adjust. Add or remove the one entry that needs to change, and remember that the object is now detached: a later change at the parent will not reach it. If the folder is meant to follow the parent again, re-enable inheritance and use the option that replaces all child entries, accepting that custom ACLs below will be overwritten.

That replace option is the standard fix for a deeply nested mess, and it is also the fastest way to destroy deliberate exceptions. Take an image or a file-level backup with permissions preserved before running it, and check the volume for errors first. A file system problem during a bulk ACL rewrite can leave objects with descriptors that neither the old nor the new policy explains.

Checking the Volume Before You Reshuffle ACLs

A structural check costs a few minutes and removes one variable. If the volume reports errors, repair it before touching permissions, because a bulk rewrite on a damaged index produces confusing results.

Step 1. Right-click the NTFS partition in Qiling Disk Master and open Advanced, then choose Check File System.

right-click the NTFS partition and open Check File System

Step 2. Tick the repair options and click Proceed to start the check.

select the repair options and click Proceed

Step 3. Wait for the result, and only then reset inheritance on the folders above.

review the file system check result

FAQ

Why can't I remove an inherited permission?

Because it is not stored on that object. Change it at the parent folder, or disable inheritance on the child and convert the entry into an explicit one.

Does moving a file to another folder change its permissions?

Inside the same volume, no: the descriptor moves with the file. Across volumes, or when you copy instead of move, the object is new and inherits from its destination.

Does a backup keep NTFS permissions?

Only when the tool is set to preserve them. Image backups keep the descriptors with the file system, while file-level tools need the option enabled.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it