I have a group(GroupA) that needs access to a sub-folder(FolderA2) of a sub-folder(FolderA1) of share FolderA.
Shared folder FolderA and sub-folders:
FolderA
|
+--FolderA1
|
+--FolderA2
This is what I am trying to accomplish(Steps 1 and 2 working fine):
FolderA share restricted to Read only, I don't want users to be able to create folders or files in the root of the FolderA share.
GroupA should be able to create,delete, and modify folders and files in FolderA1 folder but not be able to delete the FolderA1 folder. I have this working fine up to this point.
FolderA2 must only be accessible to a couple of users that also belong to GroupA as this folder contains sensitive information that only two users should be authorized to access.
Since I have everything working fine up to step 2 or sub-folder FolderA1, I will only describe what I have done for FolderA2.
To address FoderA2 issue, I have done the following:
- Created GroupB
- Added users to GroupB that need access to FolderA2
- Disabled inheritance to FolderA2.
- Removed GroupA access
Added GroupB access to FolderA2 security and Applied to "This folder only" and selected the following under advanced permissions:
- Traverse folder/execute file
- List folder/read data
- Read attributes
- Read extended attributes
- Create files/write data
- Create folders/append data
- Write attributes
- Write extended attributes
- Delete subfolders and files
Read permissions
- Added another GroupB access to FolderA2 security and Applied to "Subfolders and files only" and selected the following under advanced permissions:
Traverse folder/execute file
- List folder/read data
- Read attributes
- Read extended attributes
- Create files/write data
- Create folders/append data
- Write attributes
- Write extended attributes
- Delete subfolders and files
- Delete
- Read permissions
After applying this access rights, I tested users that belong to GroupA and they are indeed not able to access FolderA2 which is good. Now I try users that belong to GroupB and they can access FolderA2 as intended but they are also able to delete FolderA2 and that is NO GOOD. They are not supposed to be able to delete that folder. How do i get around this?
NOTE: Just so you know, since the users that need access to FolderA2 are already members of a group that has access to the share FolderA and sub-folder FolderA1, I did not add GroupB access to FolderA share or FolderA1 sub-folder. I just added GroupB access to FolderA2.
======The following are the images that show the settings of the folders======
FolderA Share Permission
FolderA Permission Entry:
Advanced Security Settings FolderA1:
FolderA1 Permission Entry 1:
FolderA1 Permission Entry 2:
FolderA2 Advanced Security Settings:
Permission Entry for FolderA2:
Permission Entry 2 for FolderA2:
When testing user access that has access to FolderA2, access is denied:
If I add "List Folders" a 3rd permission applied to "This folder only", I can access the folder. I can delete files and folders but I can't create files or folders and I am able to delete FolderA2.