From: Bil Kleb Date: 2008-11-17T23:21:36+09:00 Subject: Ruby equivalent to `find . -perm -g+rw -ls` Hi, I can't find a Ruby equivalent to find . -perm -g+rw -ls Currently, it looks like I'll need to combine, File.stat(file).mode with something like Hal Fulton's sym2oct, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/96956 hacked into Daniel Berger's file-find gem, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/248981 and require 'etc' to pull out the user and group names instead of uids and gids? Is there an alternative to all this yak shaving? Thanks, -- http://twitter.com/bil_kleb