Can the follwing advanced permissions be set to the [INSTALLDIR] using ACLs from a command line?

I need to add it to a custom action.

Traverse Folder / Execute File - ticked
List Flder / Read Data - ticked
Read Attributes - ticked
Read Extended Attributes - ticked
Create Files / Write Data - ticked
Create Folders / Append Data - ticked
Write Attributes - ticked
Write Extgended Attributes - ticked
Read Permissions - ticked

Cheers in advance for any assistance.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Any command line level permission utility can do this, an example is secedit.

P
Answered 09/18/2008 by: Inabus
Second Degree Green Belt

Please log in to comment
0
Ok thanks.

I have to use ACLs due to inhouse standards.

Do you know the syntaxt to do this using ACLs?
Answered 09/18/2008 by: TOBES_UK
Senior Purple Belt

Please log in to comment
0
ORIGINAL: TOBES_UK
I have to use ACLs due to inhouse standards.
Presumably the 'ACLs' you're referring to is the tool itself (as an alternative to XCACLS, SetACL etc.)? It's not a tool I'm familiar with (or heard of, come to that). It must have documentation or, at the very least, a help screen (ACLS /? or ACLS /h or ACLS -?...you get the idea...)

In-house standards are all very well but it sounds like whoever dictated the use of this tool failed to ensure that it was documented. Why not simply include an alternative tool, one whose syntax you know, in the Binary table, along with a script to use it? There's no risk to anyone there, since the tool and script will get deleted when the installer finishes.
Answered 09/18/2008 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

ORIGINAL: TOBES_UK
I have to use ACLs due to inhouse standards.
Presumably the 'ACLs' you're referring to is the tool itself (as an alternative to XCACLS, SetACL etc.)? It's not a tool I'm familiar with (or heard of, come to that). It must have documentation or, at the very least, a help screen (ACLS /? or ACLS /h or ACLS -?...you get the idea...)

In-house standards are all very well but it sounds like whoever dictated the use of this tool failed to ensure that it was documented. Why not simply include an alternative tool, one whose syntax you know, in the Binary table, along with a script to use it? There's no risk to anyone there, since the tool and script will get deleted when the installer finishes.



My apologies, I meant SetACL.
Answered 09/18/2008 by: TOBES_UK
Senior Purple Belt

Please log in to comment
0
As far as I can make out, you just use the permission name instead of one of the standard ones e.g. 'read' would become 'traverse'
Answered 09/18/2008 by: VBScab
Red Belt

Please log in to comment
0
Please search for "b) Specific permissions" at http://setacl.sourceforge.net/html/doc-reference.html
Answered 09/18/2008 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity