[MacPorts] #20896: reinplace: could not set group for file: not owner (--with-no-root-privileges)

MacPorts noreply at macports.org
Tue Sep 22 20:00:35 PDT 2009


#20896: reinplace: could not set group for file: not owner (--with-no-root-
privileges)
----------------------------------------+-----------------------------------
 Reporter:  jonthn+macports@…           |       Owner:  ricci@…           
     Type:  defect                      |      Status:  new               
 Priority:  Normal                      |   Milestone:  MacPorts 1.8.1    
Component:  base                        |     Version:  1.8.0             
 Keywords:                              |        Port:                    
----------------------------------------+-----------------------------------

Comment(by blb@…):

 I think, in part, this issue is that the files being patched are mode 0444
 in the tarball itself:
 {{{
 ...
 -r-xr-xr-x  0 nick   nick   520000 Oct 30  2008 perl-5.8.9/Configure
 -r--r--r--  0 nick   nick   212259 Oct 23  2008 perl-5.8.9/configure.com
 -r-xr-xr-x  0 nick   nick     2615 Sep  4  2003 perl-5.8.9/configure.gnu
 ...
 }}}
 I'm pretty sure I had perl5.8 installed with MacPorts trunk on 10.5 (non-
 root) not too long ago, so this may perhaps be a tightening in 10.6?

 The simplest fix is for base to simply chmod u+w all of ${worksrcpath},
 but would that bring on other issues?  Anything needing tight permissions
 should probably be setting them during destroot.

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


More information about the macports-tickets mailing list