[Win32utils-devel] File.owned? custom implementation

Heesob Park phasis at gmail.com
Tue Dec 25 01:42:37 UTC 2012


2012/12/25 Daniel Berger <djberg96 at gmail.com>:
> Hi,
> I've added what I think is a working File.owned? method to the
> win32-file-security gem. However, I'm not 100% sure that my method of
> comparison is correct - I'm comparing sid strings (where I sort of
> artifically chop the size of one of them) instead of using EqualSid
> with pointers.
> Can someone please validate? Just pull the latest git master.
> Suggestions welcome.
> Thanks,
> Dan
> PS - Heesob, I thought maybe you implemented this already at some
> point, but I couldn't find it. If you did and I missed it then I'm
> sorry!
The File.owned? method works fine on some tests.

I can't remember I have implemented this method.
But I found some related messages.


Park Heesob

More information about the win32utils-devel mailing list