Skip to content

Instantly share code, notes, and snippets.

@flavio
Created July 24, 2012 15:37
Show Gist options
  • Save flavio/3170719 to your computer and use it in GitHub Desktop.
Save flavio/3170719 to your computer and use it in GitHub Desktop.
flavio@roesti ~/hacking/rubinius ±file19_lchmod⚡ » cat test.rb
puts "#{RUBY_ENGINE} - #{RUBY_VERSION}"
puts File.respond_to?(:lchmod)
puts File.lchmod(0777, '/home/flavio/link_to_another_link')
flavio@roesti ~/hacking/rubinius ±file19_lchmod⚡ » ./bin/ruby test.rb
rbx - 1.9.3
true
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment