http://www.rubycentral.com/book/ref_c_file__stat.html
Ive read the above page which explains File::Stat methods. I'm just not sure how this translates to the various unix forms of drwxrwxrwx. Another thing I'm not clear on is the real user and the effective user.