Are you sure that you want to circumvent the umask?
In most environments, the group and owner write bits are masked out anyway, and sometimes users might have set a less restrictive umask. This mode will prevent that, and I don't think it is relevant to the issue anyway.
Thanks for the patch!
A few comments on the code:
- mkdir(szMyStuff
+ mkdir(szMyStuff
(similar lines follow)
Are you sure that you want to circumvent the umask?
In most environments, the group and owner write bits are masked out anyway, and sometimes users might have set a less restrictive umask. This mode will prevent that, and I don't think it is relevant to the issue anyway.
There seem to be some whitespace issues as well.
And where is _SHCreateSymbol icLinks defined?