File Directory Ruby

file = File.new( "books.txt", "w" ).chmod( 0755 )
system "ls -l books.txt"