Displaying 1 result from an estimated 1 matches for "aclstruct".
Did you mean:
a_struct
2005 Mar 05
0
[win32-file] Suggested API change
...ep process:
File.get_permissions("some_file").each{ |acct,perm|
p acct
p File.securities(perm)
}
I was thinking of merging these two calls into one so
that it would return a hash, with the account as the
key, and the value would be an array of access rights.
Or possibly an array of ACLStruct''s instead
of a hash.
In other words, File.get_permissions would call
File.securities internally.
Seem reasonable? Or too much tinkering? Perhaps a
separate method in case folks would rather have the
OR''d numeric value?
Regards,
Dan
__________________________________...