Displaying 1 result from an estimated 1 matches for "getace".
Did you mean:
getacl
2006 Mar 20
5
Need some ACL help for win32-file
...verything done for the pure Ruby version of win32-file.
The last thing left (since I''ll be moving the IO methods to a different
package eventually) is the file security stuff. Here''s what I''ve got so
far for the get_permissions method. However, I''m stuck at GetAce(). If
someone could help me finish up this method, I would be most appreciative.
Also, should we consider dumping this approach in favor of a OLE + WMI
solution, using Win32_LogicalFileSecuritySetting ?
Dan
def self.get_permissions(file)
current_length = 0
length_needed = [1].pac...