Xpra: Ticket #977: ./setup.py install --home=install tries to create '/etc/xpra'


When trying to compile trunk and installing as a local user with "./setup.py install --home=./install", installation fails with "error: could not create '/etc/xpra': Permission denied".

The exact steps to reproduce this are:

svn co https://www.xpra.org/svn/Xpra/
cd Xpra/trunk/src
# uncomment line 619 in setup.py to avoid an error in gtkitemfactory.h
./setup.py build # completes without errors
./setup.py install --home=./install

I am using Debian stretch/sid, and the Debian package "xpra" is not installed.

Of course it is normal that setup.py doesn't get permission to create /etc/xpra -- the point is that it shouldn't try to do so, when "--home=./install" is passed.

Thanks for your help on this!

Wed, 16 Sep 2015 12:19:35 GMT - Antoine Martin: status, milestone changed

out of time, and this stuff is always harder than it looks - rescheduling

see also #908

Fri, 13 May 2016 05:35:00 GMT - Antoine Martin: owner, status, component, milestone changed

This should be fixed in r12572 + r12573 + r12575.

@a3nma3nm: if this works for you, please close

Mon, 13 Jun 2016 16:03:30 GMT - Antoine Martin: status changed; resolution set

Not heard back closing, feel free to re-open.

Sun, 19 Jun 2016 09:16:19 GMT - a3nma3nm:

Sorry for the lag. I confirm that it works for me, thanks for addressing this!

Tue, 12 Jul 2016 16:52:22 GMT - Antoine Martin: milestone changed

Milestone renamed

Sat, 23 Jan 2021 05:11:25 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/977