Guest
|
Posted: Mon Aug 14, 2006 5:50 pm Post subject: Howto use SetAclInformation |
|
|
Hello
I'm currently working with Borland CBuilder on a program that should
copy a zipped File from the Fileserver, and unzip it to the local Disk.
As far as simple.
I unzip it using the gnu unzip executable out of a cygwin Installation
(somehow I didn't find a unzip Executable for windows), into the
temporary directory, and then move it to the final location.
When I move the folder manually, the trustees are inherited from the
parent directory. But not when I move it by the MoveFile function out
of winbase.h.
Well, so I tought I will set the trustees manually (everyone=full
access), by using SetAclInformation, but I want to find an example how
to use it.
So, how can I set the access Information recursively, of a whole
directory tree? |
|