From: "no6v (Nobuhiro IMAI)" Date: 2013-01-15T22:17:04+09:00 Subject: [ruby-core:51448] [ruby-trunk - Bug #7694] permission of irb history file Issue #7694 has been updated by no6v (Nobuhiro IMAI). File irb-save-history.patch added =begin Thanks to fix this. But File.stat(history_file).mode & 066 returns true value even if the history file mode is already 0600, so the if-statement is ineffective. I attached a tiny patch. =end ---------------------------------------- Bug #7694: permission of irb history file https://bugs.ruby-lang.org/issues/7694#change-35434 Author: no6v (Nobuhiro IMAI) Status: Closed Priority: Normal Assignee: keiju (Keiju Ishitsuka) Category: lib Target version: ruby -v: ruby 2.0.0dev (2013-01-14 trunk 38812) [x86_64-linux] =begin Irb outputs its history to world readable file. This can be a problem. See also #7679. =end -- http://bugs.ruby-lang.org/