From: takashikkbn@... Date: 2017-05-16T01:08:50+00:00 Subject: [ruby-core:81183] [Ruby trunk Bug#8547][Third Party's Issue] FileUtils.chmod("a+r", "foobar", verbose: true) crashes Issue #8547 has been updated by k0kubun (Takashi Kokubun). Status changed from Feedback to Third Party's Issue Backport deleted (1.9.3: DONTNEED, 2.0.0: REQUIRED) It seems that original issue is resolved https://github.com/gurgeous/teleport/issues/22. ---------------------------------------- Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes https://bugs.ruby-lang.org/issues/8547#change-64836 * Author: gurgeous (Adam Doppelt) * Status: Third Party's Issue * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.0.0p195 * Backport: ---------------------------------------- To reproduce in IRB: >> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true) Here's the stack: NoMethodError: undefined method `mode_to_s' for FileUtils:Module from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod' This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash. -- https://bugs.ruby-lang.org/ Unsubscribe: