Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Stripping permissions from specific file types and setting new permissions.

$
0
0

Hey Guys,

Having some issues getting this one going. I have a directory on one our file servers that contains all of our custom application folders. I’m looking to strip access to all the .exe’s, .dll’s and .config’s and then set read/write access to a list of groups within these folders. I need to recurse through these folders and only adjust those specific files while leaving things such as logs as is.

Example: Folder 1 – Set Owner, Remove all permissions, set account with write access, set account with read access.

Any help would be greatly appreciated!

submitted by /u/Tiren14
[link] [comments]

The post Stripping permissions from specific file types and setting new permissions. appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images