#1 Get effective permissions

open
nobody
None
5
2009-01-12
2009-01-12
Anonymous
No

It would be great to have a function, that allows to retrieve the effective permissions on a (directory-)entry for example to see, if you can step in.

Example:
SMB.open(basedir).to_a.each do |entry|
if entry.dir?
@dirs << entry.name if entry.readable?
else
...
end

Discussion