DEBSOURCES
Skip Quicknav
sources / ruby2.5 / 2.5.5-3%2Bdeb10u4 / benchmark / bm_file_chmod.rb
123456789
# chmod file require 'tempfile' max = 200_000 tmp = Tempfile.new('chmod') path = tmp.path max.times do File.chmod(0777, path) end tmp.close!