craziscoth Posted August 30, 2005 Share Posted August 30, 2005 I am writing a C++ application in which I need to add file permissions for a user. I am using an explicit access structure to add to the DACL. The problem I have is that I want to inherit the permissions for all files created within a folder after I assign the new permissions.I can do this in XP by setting: eb.grfInheritance = SUB_CONTAINERS_AND_OBJECTS_INHERIT; When I run my application in NT however, it doesn't seem to accept this value; in fact it doesn't seem to accept anything other than: eb.grfInheritance = 0;Are there any suggestions on how to get this to work in NT or is it just plain impossible? 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