Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Script with SUBINACL

Posted on 2012-09-04
Medium Priority
Last Modified: 2012-09-04
Hi, I need create a script that grant permissions in a folders structure and files, but not work.

In the structure have one file in each folder that also should receive the permissions.

I'm trying utilize SUBINACL for this.

Any help?
Question by:rafaells
LVL 35

Accepted Solution

Joseph Daly earned 600 total points
ID: 38365582
Im sure you can use SUBINACL for this but for changes like this i prefer CACLS.

cacls "\\server\share" /t /g "domain\useraccount":F /e

This will add the user account to all subfolders below the main share leaving the existing permissions in tact.

Author Closing Comment

ID: 38365612
Great! Is working!


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question