-
Apr 7th, 2021, 05:01 AM
#1
Thread Starter
New Member
Setting file and folder permissions
I have a specific set of permissions i need to apply for users.
the parent folder has disabled inheritance so it doesn't pick up from root drive.
When i use the code at the top to add the user in with the specific permissions i want it does indeed add the user in but also turns on inheriting permissions from the parent folder.
I think i've tried every combination of true and false for the "FolderAcl.SetAccessRuleProtection" line but all that does is strip out all other access and leave me with the one i've just added
Any ideas?
EG Folders 1 and 2 are NOT to inherit from ROOT
Folder 1 and 2 have distinct users/groups with permissions
Subfolders 1 and 2 SHOULD inherit from the parent "Folder"
Root\
\Folder 1
\Subfolder 1
\Subfolder 2
\Folder 2
\Subfolder 1
\Subfolder 2
-
Apr 7th, 2021, 11:29 AM
#2
Re: Setting file and folder permissions
-Moderator Actions: Spun off onto its own thread from here: https://www.vbforums.com/showthread.php?616021-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|