Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:07:12+00:00 2026-05-31T22:07:12+00:00

I have a question regarding ACLs on a network filesystem. Basically, I want to

  • 0

I have a question regarding ACLs on a network filesystem.

Basically, I want to set a permission on a top level folder object that has potentially 100,000+ file and folder objects below it. I want the permission to be inheritable via all sub folders and sub files (IE ‘Applies to files, folders, and subfolders‘ is true).

I don’t want to trash any existing inheritable permissions (IE ‘Replace all child object permissions with inheritable permissions from this object‘ is false).

So, when I run a Set-ACL, SetACL.exe, XCACLS.vbs, or even use the Windows GUI, it takes a very long time for the process to complete – obviously due to the large size of the sub directory.

I’m used to this now, BUT:

I wanted to know – why exactly is this?

At the end of the day, aren’t I only writing one ACE on one single folder object?

  • I’m not traversing the directory;
  • I’m not modifying the individual ACLs on the sub files and folders (I don’t think); and
  • I’m not replacing permissions

I assumed that if you accessed the sub folder/file object, it would check it’s explicit ACEs to see if you had permissions, and if you didn’t have it, it would then check for any inheritable permissions (from parent folder objects) that might give you access.

So, does setting an inheritable permission also cause a new, individual ACE to be written to every single sub file and folder, even though you are technically only setting one ACE at the top level?

Is there any way to set an ACE at the top level and not have the command to go and enumerate through the whole sub directory? I’m looking to do this quickly and efficiently on a massive amount of files and folders.

I hope this makes sense. Look forward to any suggestions.

Rhys.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:07:13+00:00Added an answer on May 31, 2026 at 10:07 pm

    Inherited permissions (like explicit) are set at folder/file level in the bit mask of the security descriptor in the flag bit field (more info). That’s why setting permissions at father folder level that propagate to child (inheritance) may be long depends on how many child are affected.

    Base on this the answer is no: you cannot set an ACE at the top level and not have the command to go and enumerate through the whole sub directory.

    You can test if set explicit acl programmatically on all childs is faster then inheritance process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding class design. I want to have a class that
I have a question regarding dependency injection. say i want to create a class
I have a question regarding static function in php. let's assume that I have
I have a question regarding jQuery. I have multiple images that are, in essence,
I have a question regarding string modification. Let's assume that we have the following
I have a question regarding the threads that my application spawns during execution and
I have a question regarding using intptr_t vs. long int . I've observed that
I have a question regarding CSS in Firefox. If i set a width of
I would have question regarding web services. Let's say I have webservice client that
I have a question regarding some CSS that I'm sure has a simple solution,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.