• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Change or clear inherited permissions from all files?

elkinm

Platinum Member
I have a problem with a folder in Win 7 as most if not all files have read and execute denied inherited.

I tried changing permissions if the folder above it and propagating, but it does not work.

For each file if I go to right click - properties and then security, I click on the Advanced button, then customize and then I can uncheck the inherit permissions option, then at the resulting popup, I click copy to copy permissions, then when I go to the permissions I can got to the user/administrator and then allow read and execute instead of deny.

It seems I have to do it for every file in the folder. I don't know why propagating permissions from the parent folder is not working or where the permissions were inherited from, I just know I cannot use the program in this state?

Any way to change permissions for all the files?

Thanks
 
The advanced tab should tell you where the permissions are being inherited from.

I don't have that as far as I can tell. Just the permissions. I do have to click customize to see them. It does not tell me which are local and which are inherited or where.

I tried uninstalling the program but is still failed with a permissions error as the denied permission is for administrators. I am going to change the permissions one by one. I may try removing all the folders in the tree and try reinstalling.
 
Correction, I have the inherited from field nut it only has program files, but program files does not have issues.

This is a new PC so I am just going to reinstall the OS. I will post if I see this again.

Thanks again.
 
You may want to try "replace permissions on all child objects" after changing the parent folders permissions. When I run into issues like this (usually with deleting items) I


  1. Go to Ownership, make sure my account or administrator(s) is the owner, then check "replace owner on subcontainers and objects". OK out completely.
  2. Go back to Security, Permissions - make sure my account or Administrators has full permissions and then "replace permissions on all child objects".
 
Much quicker way of doing this is through the command prompt
At the command prompt type

icacls c:\mydirectory /inheritance:d /t

C:\mydirectory for the directory of files you want changed.
the inheritance:d , disables inheritance and copies the permissions
/t tells it to recurse subdirectories and files
 
Thanks, I did check the owner and it was correct, however I just could not remove of change the inherited permissions down. Also, I think the Advanced permissions did not match as Administrators had full control while in simple view Read and execute was denied.

This machine was rebuild so unfortunately I cannot test with this exact scenario, I would still like to know how to deal with this in the future.

I have been reading the icasis syntax information. The command you gave me should strip and copy inherited permissions.
I would also need to clear the denied permissions and grant full control to Administrators. There is a grant: option with icasis, but cannot figure out how to use it for a specific group.
Can you guys give me command that would similarly grant full control to all Administrators.

Thanks again.
 
Back
Top