That might be an idea.....however I think I may have found a way around it icacls file /inheritance:r removes all inherited permissions
and then I can add my user back in with another icacls command. Fortunately the ACEs I want to remove are all inherited :-) Cheers, JR On 8 November 2013 11:47, Webster <[email protected]> wrote: > Have you tried SetACL from HelgeKlein.com? > > > > Webster > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *James Rankin > *Sent:* Friday, November 08, 2013 6:23 AM > *To:* [email protected] > *Subject:* [NTSysADM] Icacls syntax > > > > I may be being daft, but is there a way using icacls.exe to replicate the > "replace" functionality you could get in cacls.exe by omitting the /E > switch? > > the grant:r switch in icacls seems to just replace the specified user's > permissions, not all of them > > I want to edit a folder's ACL so that all other perms are removed and one > user only added to the ACL > > Cheers, > > > > -- > *James Rankin* > Technical Consultant (ACA, CCA, MCTS) > http://appsensebigot.blogspot.co.uk > -- *James Rankin* Technical Consultant (ACA, CCA, MCTS) http://appsensebigot.blogspot.co.uk

