From: Martin Weber Date: 2002-02-15T05:08:04+09:00 Subject: Re: File.open weirdness On Fri, Feb 15, 2002 at 04:59:23AM +0900, Craig Files wrote: > Now the problem is:File.open("test.cmd",File::CREAT|File::TRUNC|File::WRONLY,0666){ |file| > ..... > } > > Still does not get the permissions correct: > > ls -l test.cmd > -rw-rw-r-- 1 cfiles fiddms 32 Feb 14 12:47 test.cmd > not -rw-rw-rw you have umask 013 set ? || check your umask ? -Martin