Restore file permissions
From: Anekwe via WinServerKB.com (u13021_at_uwe)
Date: 10/27/05
- Next message: Alun Jones: "Re: MS antispyware Beta 1"
- Previous message: Malke: "Re: MS antispyware Beta 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 27 Oct 2005 18:09:08 GMT
I used showaccs.exe to download file permission rights and use xcacls.vbs to
restore those file permissions as in a case of server upgrade. I need to
find out what the code sequence are to restore five situations- the first is
a folder with just List Folder Contents and Read both checked. The second is
a folder with List Folder Contents, Read, and Write checked. The third is a
folder with Deny Write checked. The fourth is a folder with Deny Read
checked. The fifth is a folder with Deny List Folder Contents, Read, and
Write checked.
For example, a folder can be in any given permission set. But, if I use the
following command line statement: >cscript.exe xcacls.vbs "D:\TestFolder" /g
USERS:X [enter], the folder TestFolder is reset to List Folder Contents,
Read and Write boxes checked. The advanced settings will also be reset to
the corresponding.
-- Message posted via http://www.winserverkb.com
- Next message: Alun Jones: "Re: MS antispyware Beta 1"
- Previous message: Malke: "Re: MS antispyware Beta 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|