From: Nobuyoshi Nakada Date: 2007-01-27T16:36:32+09:00 Subject: Re: prob with File.open and perms Hi, At Sat, 27 Jan 2007 15:55:08 +0900, Une B�vue wrote in [ruby-talk:236374]: > which correspond to 644 (right?) That is octal. > however if i rewrite the three lines above specifying the perms as 644 : > File.open('a_file',File::WRONLY|File::TRUNC|File::CREAT,644) do |f| ^^^ Use 0644. -- Nobu Nakada