Hi all,
As things stand now, to get the ACL for a file, it''s a
two step 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
__________________________________
Celebrate Yahoo!''s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/