August 30, 200521 yr 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?
Create an account or sign in to comment