Nobuyoshi Nakada
1/27/2007 7:37:00 AM
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