Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
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 220.127.116.11 under RHEL 7.4.