On 2002.06.16, Tobias Reif <tobiasreif / pinkjuice.com> wrote: > Hi, > > I want to create an image file foo with mode 0600. > > File.new('foo', 0600 , 'wb') > doesn't work. Do I have to use this ugly uppercase syntax? According to the documentation, you should be doing: File.new('foo', 'wb', 0600) This is gotten from: http://www.rubycentral.com/book/ref_c_file.html#File.new File.new( fileName [, aModeNum [ aPermNum ] ] ) -> file HTH, HAND, -- Dossy -- Dossy Shiobara mail: dossy / panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)