﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
773	chicken-install uses user umask	John Foerch	Kon Lovett	"I use a umask of 027 for my user account on my computer, meaning that by
default, files I create are not readable by others.  This causes a problem
when I install some eggs with 'sudo chicken-install foo' or
'chicken-install -s foo', because some installed files are installed with
the umask of my user account in effect, even though they are owned by
root:root.

    $ umask
    0027
    $ chicken-install -s setup-helper
    <OUTPUT ELIDED>
    $ ls -la /usr/share/chicken
    total 48
    drwxr-xr-x   3 root root  4096 Jan  7 20:18 .
    drwxr-xr-x 271 root root 12288 Jan  2 20:42 ..
    drwxr-xr-x   2 root root  4096 Feb 10  2010 doc
    -rw-r-----   1 root root  4900 Jan  7 15:45 inline-type-checks.scm
    -rw-r--r--   1 root root   787 Sep  5 11:03 setup.defaults
    -rw-r-----   1 root root 13435 Jan  7 20:18 setup-helper.scm

Note lack of read permission for non-root users for two files above.  This
causes subsequent problems when installing other eggs whose setup requires
to read these files.  It happens with other eggs too, not just setup-helper.
"	defect	closed	major		unknown	4.7.x	fixed	chicken-install umask	John Foerch	
