[MacPorts] #32312: subversion-python27bindings: initialization fails for user macports

MacPorts noreply at macports.org
Tue Nov 29 16:20:53 PST 2011


#32312: subversion-python27bindings: initialization fails for user macports
--------------------------------+-------------------------------------------
 Reporter:  titus@…             |       Owner:  blair@…                    
     Type:  defect              |      Status:  new                        
 Priority:  Normal              |   Milestone:                             
Component:  ports               |     Version:  2.0.3                      
 Keywords:                      |        Port:  subversion-python27bindings
--------------------------------+-------------------------------------------
Description changed by ryandesign@…:

Old description:

> When this package is initialized it tries to open the file
> ~<sudoer>/.subversion/server.
> This fails if the user sudoed to is underprivileged for this directory,
> as e.g. on my machine the user macports.
>
> steps to reproduce:
>
> cd ~
>
> chmod 700 .subversion
>
> curl -o hgsubversion-1.3.tar.gz
> http://pypi.python.org/packages/source/h/hgsubversion/hgsubversion-1.3.tar.gz
>
> tar xzf hgsubversion-1.3.tar.gz
>
> cd hgsubversion-1.3
>
> sudo -u macports
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> setup.py --no-user-cfg build

New description:

 When this package is initialized it tries to open the file
 ~<sudoer>/.subversion/server.
 This fails if the user sudoed to is underprivileged for this directory, as
 e.g. on my machine the user macports.

 steps to reproduce:

 {{{
 cd ~
 chmod 700 .subversion
 curl -o hgsubversion-1.3.tar.gz
 http://pypi.python.org/packages/source/h/hgsubversion/hgsubversion-1.3.tar.gz
 tar xzf hgsubversion-1.3.tar.gz
 cd hgsubversion-1.3
 sudo -u macports
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 }}}

--

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


More information about the macports-tickets mailing list