Assigning Permissions through scripts

  • Thread starter Thread starter Nagesh
  • Start date Start date
N

Nagesh

Hi,

A folder to be created and assign permission to that
folder by using scripts. To be more ealaborate I have to
create a folder for every NT login Account and assign
permission to that folder only to that login Id. Just like
a Home Folder by using scripts.

Awaiting for ur help.

NTNR
 
Nagesh said:
Hi,

A folder to be created and assign permission to that
folder by using scripts. To be more ealaborate I have to
create a folder for every NT login Account and assign
permission to that folder only to that login Id. Just like
a Home Folder by using scripts.

CACLS.exe is a command-line program for setting file and folder permissions,
which can be addressed from a script.
 
That is completely incorrect.

[Fri 07/09/2004 22:48:39.02]
F:\DEV\VSCPP\ExchStoreEnum\ExchStoreEnum>cacls release /E /G "joe\domain users:F"
processed dir: F:\DEV\VSCPP\ExchStoreEnum\ExchStoreEnum\Release

[Fri 07/09/2004 22:48:56.12]
F:\DEV\VSCPP\ExchStoreEnum\ExchStoreEnum>cacls release
F:\DEV\VSCPP\ExchStoreEnum\ExchStoreEnum\Release BUILTIN\Administrators:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)F
FASTMOFO\$jricha34:F
CREATOR OWNER:(OI)(CI)(IO)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Users:(CI)(special
access:)
FILE_APPEND_DATA

BUILTIN\Users:(CI)(special
access:)
FILE_WRITE_DATA

JOE\domain users:(OI)(CI)F


[Fri 07/09/2004 22:49:09.49]
F:\DEV\VSCPP\ExchStoreEnum\ExchStoreEnum>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top