MSFN Forum: CACLS.exe - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CACLS.exe Rate Topic: -----

#1 User is offline   Janan 

  • Group: Members
  • Posts: 3
  • Joined: 21-February 08

Posted 25 February 2008 - 12:53 AM

How to assign permission for MSI using CACLS.exe? I will need to wrap the MSI in a WiseScript wrapper and use the Execute Program action to call CACLS.Exe to set the permissions on the MSI.

Could any one help me on this with example?

Thanks & Regards,
Janan.R


#2 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 25 February 2008 - 01:49 AM

View PostJanan, on Feb 25 2008, 07:53 AM, said:

How to assign permission for MSI using CACLS.exe? I will need to wrap the MSI in a WiseScript wrapper and use the Execute Program action to call CACLS.Exe to set the permissions on the MSI.

Could any one help me on this with example?

Thanks & Regards,
Janan.R


Quote

Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E)
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

Abbreviations:
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.


For example: cacls C:\your_msi_file.msi /E /T /G Everyone:C

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy