Re: Calcs Command

johnsmith_at_microsoft.com
Date: 08/29/05


Date: Mon, 29 Aug 2005 04:56:51 GMT

In <AA9BD757-3A7C-48E3-BAE0-5B7354D8E551@microsoft.com>, "=?Utf-8?B?QW5hcw==?=" <Anas@discussions.microsoft.com> writes:
>Dear colleagues,
>I need to apply the ACL usig command line with inherit for the upper
>permissions.
>how can i do that using the calcs command...
>I did for example:
>calcs (file name) /g everyone:f
>but how shall I apply it for all folders and subfolders?
>

Type cacls.exe ? to get the explanation of the switches.

Reverse the command you issued and re-issue it as follows:-

cacls filename /t /e /r everyone
cacls filename /t /e /g everyone:f