Arno Garrels wrote:
> I use these Windows API functions:
> GetNamedSecurityInfo()
> MapGenericMask()
> AccessCheck()
> 
> Anyway, I don't know how to translate the resulting mask to unix
> format, also there's no reliable way to get the effective rights of
> users without having the user access token, even XP shows sometimes
> nonsense effektive rights of not logged on users.

Btw: If you want to see the above functions in action get this small
demo binary from here : http://www.duodata.de/misc/delphi/ChkAcc.zip
And then tell us your idea how to form the UNIX mask from it, that
includes three parts for Owner, Group and Public.

Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to