chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #773: chicken-install uses user umask


From: Chicken Trac
Subject: [Chicken-janitors] #773: chicken-install uses user umask
Date: Sun, 08 Jan 2012 01:24:11 -0000

#773: chicken-install uses user umask
-----------------------------------+----------------------------------------
 Reporter:  retroj                 |       Owner:       
     Type:  defect                 |      Status:  new  
 Priority:  major                  |   Milestone:  4.8.0
Component:  unknown                |     Version:  4.7.x
 Keywords:  chicken-install umask  |  
-----------------------------------+----------------------------------------
 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.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/773>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]