[MacPorts] #16282: emacs 22.2: bad use of chown in destroot stage

MacPorts noreply at macports.org
Mon Aug 11 05:17:02 PDT 2008


#16282: emacs 22.2: bad use of chown in destroot stage
----------------------------------+-----------------------------------------
  Reporter:  vinc17 at macports.org  |       Owner:  darren.bane at gmail.com
      Type:  defect               |      Status:  new                  
  Priority:  Normal               |   Milestone:  Port Bugs            
 Component:  ports                |     Version:  1.6.0                
Resolution:                       |    Keywords:                       
----------------------------------+-----------------------------------------
Comment (by vinc17 at macports.org):

 Replying to [ticket:16282 vinc17 at macports.org]:
 > I suppose that the problem is that MacPorts undefines both LOGNAME and
 USERNAME.

 Indeed, if I insert
 {{{
 echo "chown '$${LOGNAME:-$$USERNAME}' ..." ; \
 }}}
 before the "find $${dest} -exec chown", I get:
 {{{
 chown '' ...
 }}}
 I think that a fix would be to remove all these unnecessary chown's. Or
 MacPorts base should be fixed to keep LOGNAME set to a valid value (I
 wonder if unsetting it is allowed by POSIX).

-- 
Ticket URL: <http://trac.macports.org/ticket/16282#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list