in reply to Re: Perms Perms Perms
in thread Perms Perms Perms

"If you get stuck with that, come back".

Many thanks for your help,....

If I wanted to implement the ‘List’ access type permission (this can be achieved in WinNT Explorer by pointing at a directory icon, right clicking, then selecting properties, security and permissions and then using the drop down field 'type of access' to select the List permission), which is made of Read and Execute (RX) | (Not Specific). My question is, how can I program this using perms? i.e.
$dir-> Add (‘MYDOMAIN\JoBloggs’, (RX)|(Not Specific), ACCESS_ALLOWED_A +CE_TYPE, OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE); )
I am not sure how to implement the Read and Excute on one side of the ‘or’ and the 'Not Specific' bit on the other side.

Thanks for your help in advance.