Jump to content

Recommended Posts

Posted

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? :}


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...