Link to home
Start Free TrialLog in
Avatar of wannabecraig
wannabecraigFlag for Ireland

asked on

Windows Permissions New Folders and Files inherritence propogation

Hi,

I have a new Win2008R2 Standard 64X file server, this is on an AD domain.

I have an issue where a user is creating a new folder and a new file within this folder, it would seem the folder first and then the file after are not picking up the correct permissions.

A lot of these folders have custom NTFS permissions that differ from the top folder through to these levels.

For example I have.

-> = new folder

Top level folder Share - Everyone Access -> Team Folder(inherit unchecked, team security group added full control with propogation) -> Usersfolder(inherit ticked) -> User is creating new folder here - User is creating new file here.

The problem looks like when the user is creating the new folder the folder is set to inherit by default but it inherits to "This folder only" It does not inherit to "All Subfolders and Files", which is weird because the folder that the new folder is inheriting its permissions from has the permission to apply to "All Subfolders and Files". When the user creates the new file the NTFS permissions again do not inherit the user is permissioned on the NTFS ACL and the the Administrators group of the file server.

This is a bit of a problem for me, Any ideas?

I need people to be able to create new files with the files inheriting what is actually above , not inheriting permissions to this folder only.
Avatar of VB ITS
VB ITS
Flag of Australia image

Interesting problem. Is CREATOR OWNER listed in the NTFS permissions with the inheritance set to Subfolders only?

Can you post a screenshot of the Advanced Security Settings of the Users folder?

Right click on the Users folder > PropertiesSecurity tab > Advanced button > screenshot the Permissions tab in this window.
Avatar of wannabecraig

ASKER

Sorry but im not posting a screenshot because I will have to edit out some sensitive info.

Also because I believe your barking up the wrong tree with this. There are two things in the advanced security permissions. Domain admins sec group and a staff sec group nothing else.

I may have found the problem, I now have the user being able to create files and folders with the permissions automatically inherited.

-------

Top level folder Share - Everyone Access -> Team Folder(inherit unchecked, team security group added full control with propogation) -> Usersfolder(inherit not ticked) -> User is creating new folder here - User is creating new file here.

------

I went to the usersfolder level above, properites advanced, removed the inheritable permissions and blanked all the permissions. I readded the two security groups mentioned above, this time I DID NOT TICK the following box whilst adding the security groups in advanced permissions "Apply these changes to objects and/or containers in this folder only" I also ticked the replace permissions on child objects box and I kept inheritable permissions from above unticked too. I applied and pushed the permissions down.

Then I got the new user to create test folders and files and they seem to be working now and inheriting the correct permissions from the folder above.
"Apply these changes to objects and/or containers in this folder only"

Confirmed this check box being unticked at the top level for this set of permissions and applied through to all child objects resolved this one. What I did in full was.
1. Went to the top level I wanted these permissions to apply from within the share. Did a takeown.exe /f /a /r on this folder. Then went to properties advanced permissions, (I) unticked inheritable (ii) removed anything else in the access list (iii) added the security groups I wanted to have permission and assigned full control on the permissions box but made sure that "Apply these changes to objects and/or containers in this folder only" checkbox was unticked. (iv) ticked replace permissions on child objects and applied. These steps very very quickly and easily reset all files and subfolders in a matter of seconds.

"Apply these changes to objects and/or containers in this folder only" Can anyone clarify what this box is supposed to do.
I believe this box sets the inherited permission to this folder only which basically locks everything out.
ASKER CERTIFIED SOLUTION
Avatar of VB ITS
VB ITS
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
because the creator owner permissions you were looking for were not there, that's why.

cheers for the link.
Gotcha. I just wanted to rule it out is all. Thanks for the points :)
Just fyi the checkbox we are referring to above will result in locking lower level folders and files with a padlock icon windows server 2008 r2.