[MacPorts] #26899: PostGresql90-server won't install because of privilege de-escalation?

MacPorts noreply at macports.org
Tue Oct 19 13:19:15 PDT 2010


#26899: PostGresql90-server won't install because of privilege de-escalation?
--------------------------------+-------------------------------------------
 Reporter:  vince@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.1                                
 Keywords:                      |        Port:  Postgresql90-server                  
--------------------------------+-------------------------------------------
 Hi there,
 I am unable to install Postgresql90-server. For some unknown reason, with
 or without sudo, it seems the install procedure tries to alter the
 property of a file after privilege de-escalation, resulting in a "chown:
 not owner" error:

 {{{
 :msg:destroot --->  Installing postgresql90-server @9.0.1_0
 :debug:install install phase started at Tue Oct 19 22:09:42 CEST 2010
 :debug:install Executing org.macports.install (postgresql90-server)
 :debug:install installing link:
 /usr/pkg/var/macports/software/postgresql90-server/9.0.1_0/Library/LaunchDaemons/org.macports.postgresql90-server.plist
 :debug:install installing file:
 /usr/pkg/var/macports/software/postgresql90-server/9.0.1_0/usr/pkg/etc/LaunchDaemons/org.macports.postgresql90-server/org.macports.postgresql90-server.plist
 :error:install Target org.macports.install returned: could not set owner
 for file
 "/usr/pkg/var/macports/software/postgresql90-server/9.0.1_0/usr/pkg/etc/LaunchDaemons/org.macports.postgresql90-server/org.macports.postgresql90-server.plist":
 not owner
 :debug:install Backtrace: could not set owner for file
 "/usr/pkg/var/macports/software/postgresql90-server/9.0.1_0/usr/pkg/etc/LaunchDaemons/org.macports.postgresql90-server/org.macports.postgresql90-server.plist":
 not owner
     while executing
 "file attributes $dst_element -owner [file attributes $src_element -owner]
 -group [file attributes $src_element -group] -permissions [file attributes
 $..."
     ("eval" body line 1)
     invoked from within
 "eval $file_attr_cmd"
     (procedure "install_element" line 19)
     invoked from within
 "install_element $src_element $dst_element"
     (procedure "directory_dig" line 24)
     invoked from within
 "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend"
     (procedure "directory_dig" line 35)
     invoked from within
 "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend"
     (procedure "directory_dig" line 35)
     invoked from within
 "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend"
     (procedure "directory_dig" line 35)
     invoked from within
 "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend"
     (procedure "directory_dig" line 35)
     invoked from within
 "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend"
     (procedure "directory_dig" line 35)
     invoked from within
 "directory_dig ${destroot} ${destroot} ${imagedir}"
     (procedure "portinstall::install_main" line 74)
     invoked from within
 "$procedure $targetname"
 :info:install Warning: the following items did not execute (for
 postgresql90-server): org.macports.activate org.macports.install
 }}}

 Any idea?
 Thanks
 Vincent

-- 
Ticket URL: <https://trac.macports.org/ticket/26899>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list