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

MacPorts noreply at macports.org
Sat Oct 17 10:01:12 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.2    
Component:  base                        |     Version:  1.8.0             
 Keywords:                              |        Port:                    
----------------------------------------+-----------------------------------

Comment(by jmr@…):

 I see that `cp` applies the current umask when creating the new file, but
 `file copy` does not. So I'm wondering whether this is affected by the fix
 for #21389. It also seems like fileAttrsAsRoot shouldn't be trying to set
 the owner or group when not running as root, since in general that will
 not work.

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


More information about the macports-tickets mailing list