FileUtils.touch - permissions?

Can I use FileUtils.touch to set permissions?

Or in other words.

How can I create a file with specific permissions in Ruby?

Marc H. wrote in post #1019418:

Can I use FileUtils.touch to set permissions?

Or in other words.

How can I create a file with specific permissions in Ruby?

$ ri File.open
$ ri FileUtils.chmod

Kind regards

robert