Actions
Bug #8547
closedFileUtils.chmod("a+r", "foobar", verbose: true) crashes
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p195
Backport:
Description
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.
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0