From: Igor Pirnovar Date: 2012-10-29T04:50:02+09:00 Subject: Re: File.readable? and /proc Jeff Moore wrote in post #1081705: > root@nail:/projects/proc_fs# irb > > irb(main):001:0> File.readable? '/proc/sys/fs/binfmt_misc/register' > => true > > !?!?!? You are loggeg in as 'root'! Ruby is obviously aware of your superuser privileges. Run irb as regular user and, you'll see false! Cheers, igor -- Posted via http://www.ruby-forum.com/.