How to set special folder permissions in a script?
- From: Samuel R. Neff <samuelneff@xxxxxxxxxx>
- Date: Thu, 18 May 2006 10:02:36 -0400
We're having a problem with permissions being messed up when we deploy
a new version of our web application. We'd like to reset permissions
with a script--batch file or vbs.
How can we set the special permissions in a script? neither cacls.exe
or xcacls.exe seem to support setting them. Special permissions print
out fine but I don't see any way to replicate these settings:
c:\Inetpub\wwwroot SAM2003\IUSR_SAM2003:(OI)(CI)(DENY)(special
access:)
DELETE
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_WRITE_EA
FILE_DELETE_CHILD
FILE_WRITE_ATTRIBUTES
SAM2003\IIS_WPG:(OI)(CI)R
NT AUTHORITY\SYSTEM:(OI)(CI)F
BUILTIN\Administrators:(OI)(CI)F
BUILTIN\Users:(OI)(CI)R
It's the first one, SAM2003\IUSER_SAM2003 that's a problem. How do
you set those special permissions with cacls/xcacls?
Thanks,
Sam
.
- Follow-Ups:
- Re: How to set special folder permissions in a script?
- From: Roger Abell [MVP]
- Re: How to set special folder permissions in a script?
- Prev by Date: Re: PKI & EFS
- Next by Date: Re: How to set special folder permissions in a script?
- Previous by thread: Re: PKI & EFS
- Next by thread: Re: How to set special folder permissions in a script?
- Index(es):
Relevant Pages
|
Loading