XenonKilla Posted May 27, 2014 Share Posted May 27, 2014 I'm trying to set deny "delete folder" and "delete file" permissions on a folder and all of it's contents. So far here is what I have come up with...icacls MyFolder /deny Administrators:(oi)(ci)(d,dc)This sets the deny permissions correctly however I cannot even access the folder after setting permissions this way. If I set the deny permissions manually then it works fine. Any ideas? Link to comment Share on other sites More sharing options...
XenonKilla Posted May 27, 2014 Author Share Posted May 27, 2014 Figures, I spent like 1.5hrs trying to get this to work and no sooner than I create this thread I figure it out Well just in case anyone runs across this via search in the future, turns out you have to use DE instead of D but for some reason the Icacls reference page doesn't show there being a DE parameter.icacls MyFolder /deny Administrators:(oi)(ci)(de,dc) Link to comment Share on other sites More sharing options...
Tripredacus Posted May 27, 2014 Share Posted May 27, 2014 Figures, I spent like 1.5hrs trying to get this to work and no sooner than I create this thread I figure it out I recall many times where I start a thread and figure out the answer before posting. Sometimes, going over the problem whether typing it out or talking to someone, will put some new idea in your brain and sometimes that is all you need. Link to comment Share on other sites More sharing options...
XenonKilla Posted May 27, 2014 Author Share Posted May 27, 2014 (edited) Figures, I spent like 1.5hrs trying to get this to work and no sooner than I create this thread I figure it out I recall many times where I start a thread and figure out the answer before posting. Sometimes, going over the problem whether typing it out or talking to someone, will put some new idea in your brain and sometimes that is all you need. I know right! I ALWAYS make sure to post as a very last resort. I searched for almost 2 hours and was like OK I'm just gonna post up and see if anyone knows. Then I posted and decided to hit Google a little bit more and finally came across what I needed Edited May 27, 2014 by XenonKilla Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now