B
Bil Kleb
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,
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,