FileUtils.chmod failes when called on symlink under linux #5547
This leads to the following error, because
This is the test program I used, which includes a workaround that makes sure
#!/usr/bin/env jruby require 'fileutils' # uncomment to fix NotImplementedError # class FileUtils::Entry_ # def have_lchmod? # false # end # end FileUtils.rm_f "link" FileUtils.ln_s "target", "link" FileUtils.chmod 400, "link"
I am using jruby 184.108.40.206 under RHEL 7.4.
The text was updated successfully, but these errors were encountered: