From: Tanaka Akira Date: 2011-11-22T16:26:18+09:00 Subject: [ruby-core:41196] Re: IO.copy_stream creates files with restrictive permissions 2011/11/22 Clifford Heath : > The umask that almost every Unix distribution has always had in /etc/profile - which is 022. /etc/profile is a configuration file for login shell. There are processes which is not started via login shell, such as daemons, cron jobs, etc. -- Tanaka Akira