On Jan 4, 2008 8:34 AM, Ziots, Edward <[EMAIL PROTECTED]> wrote:
> I know about dumpacl, but need it on an automated fashion, and need to
> be able to restore the permissions quickly back to a previous version
> accordingly. I am usually dealing with complex permissions structures of
> TB's of data, so getting things back the way it need to be quick is very
> important.

That's the beauty of fileacl.exe - you can specify that the output be
in the form of a batch file that can immediately be executed.
Following are the first few lines from the output of the scheduled
task for the K: drive on our file server:

FILEACL k:\ /S "NT AUTHORITY\SYSTEM":F /S "BUILTIN\Administrators":F
/REPLACE /PROTECT
FILEACL "k:\DC-Backups" /S "MYCOMPANY\_backup":RWXD
FILEACL "k:\Finance-Confidential" /S "MYCOMPANY\FinanceConf":RWXD
FILEACL "k:\FWConfigs" /S "MYCOMPANY\_Service":RWXD
FILEACL "k:\Groups\Admin" /S "MYCOMPANY\Admin":RWXD /S
"BUILTIN\Administrators":RWXD/U/U /S "CREATOR OWNER":U/U/RWXD /S
"MYCOMPANY\Domain Users":RX/U/U
FILEACL "k:\Groups\Admin\Local Area" /S "MYCOMPANY\Domain Users":RX /S
"MYCOMPANY\Domain Users":RX
FILEACL "k:\Groups\Admin\Public" /S "MYCOMPANY\Domain Users":RX

If executed on the file server, it will immediately replace the
permissions with the above. Tres Cool.

Kurt

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to