Setting file/dir security ?
System Admin
1
Posts
1
Posters
1
Views
1
Watching
-
Im on w2k/ntfs, and i would like to set file/dir access permissions, but it just won't work like i imagine. Im using SetFileSecurity(), and i also tried SetSecurityInfo(), but with both i could not set the rights like i set them when i click on the checkboxes in file properties dialogs. Mainly i missed how to set property that it would inherit to "This folder, subfolders and files" instead of only "This folder". Can anyone help me, or point to some article ? thanks in advance cheers mirex -- edit -- Now i found how to do it, it can be done when adding ACL record by SetEntriesInAcl(); you can specify inheritance in EXPLICIT_ACCESS structure :)