Using cacls versus Gui properties->permissions
From: Brant G (brantg@mistermoney.com)Date: 05/15/02
- Next message: Marc Richardson: "NT DoNotUse password list"
- Previous message: Mike Bardan: "Logging IP address of connecting workstation"
- Next in thread: x y: "Re: Using cacls versus Gui properties->permissions"
- Reply: x y: "Re: Using cacls versus Gui properties->permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Brant G" <brantg@mistermoney.com> Date: Wed, 15 May 2002 08:30:53 -0600
I'm troubleshooting permissions on an NT4SP6a server for an IIS site, and
I've been using a batch file (below) to assign bulk permissions for the iis
folders, which uses cacls to edit the permissions. When I go to check out
the folder permissions through the Explorer Properties GUI, I don't see
these changes reflected, but they do show when I do a cacls for that folders
fiiles from the console, and I don't see any errors being reported from the
batch file. Any suggestions on what I'm doing wrong or misunderstanding?
<permiis.bat>
@Echo off
rem sets the accounts for iis access
rem expects the user|group:R for %1
rem I didn't include the :R as I wanted to be able to allow multiple
users|groups per line
echo y| cacls h:\corporate\lwintranet\*.* /t /e /g %1
echo y| cacls c:\winnt\*.* /e /g %1
echo y| cacls c:\winnt\system32\*.* /e /g %1
echo y| cacls c:\winnt\system32\inetsvr\*.* /t /e /g %1
echo y| cacls "c:\Program Files\Common Files\*.*" /t /e /g %1
echo y| cacls j:\storedata\stores\*.* /t /e /g %1
Echo Permissions set for %1 on IIS Directories
-- Brant Gluth O'Boise Systems and Services BrantG@OBoise.com (970) 231-416Tho' much is taken, much abides; and tho' We are not now that strength which in old days Moved earth and heaven: that which we are, we are; One equal temper of heroic hearts, Made weak by time and fate, but strong in will To strive, to seek, to find, and not to yield. Tennyson, "Ulysses"
- Next message: Marc Richardson: "NT DoNotUse password list"
- Previous message: Mike Bardan: "Logging IP address of connecting workstation"
- Next in thread: x y: "Re: Using cacls versus Gui properties->permissions"
- Reply: x y: "Re: Using cacls versus Gui properties->permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|