#2781: Install permissions broken
------------------------------------+---------------------------------------
    Reporter:  guest                |        Owner:                  
        Type:  bug                  |       Status:  reopened        
    Priority:  normal               |    Milestone:  6.10.2          
   Component:  Build System         |      Version:  6.10.1          
    Severity:  normal               |   Resolution:                  
    Keywords:  install permissions  |   Difficulty:  Unknown         
    Testcase:                       |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple     |  
------------------------------------+---------------------------------------
Changes (by Feuerbach):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 I confirm that, if using umask 022, everything is ok.
 However if you use umask 077 then you will get permissions that OP showed.

 I guess OP was confused by the fact that, if you change umask to 022 and
 redo ./configure && make install, it doesn't help. To solve the problem
 you need to set umask 022 before you untar the archive, so that files get
 right permissions from the beginning.

 I agree with OP that permissions should be set correctly during
 installation no matter which umask user prefers, so let me reopen this
 ticket. (Note: just setting desired umask in the install script doesn't
 help for the reasons described above. In other words, installation should
 not make any assumption about files permissions apart from being able to
 read them.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2781#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to