xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 7 years ago

Closed 6 years ago

Last modified 16 months ago

#977 closed defect (worksforme)

./setup.py install --home=install tries to create '/etc/xpra'

Reported by: a3nma3nm Owned by: a3nma3nm
Priority: major Milestone: 1.0
Component: packaging Version: trunk
Keywords: Cc:



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!

Change History (6)

comment:1 Changed 7 years ago by Antoine Martin

Milestone: 0.16future
Status: newassigned

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

see also #908

comment:2 Changed 6 years ago by Antoine Martin

Component: corepackaging
Milestone: future0.18
Owner: changed from Antoine Martin to a3nma3nm
Status: assignednew

This should be fixed in r12572 + r12573 + r12575.

@a3nma3nm: if this works for you, please close

Last edited 6 years ago by Antoine Martin (previous) (diff)

comment:3 Changed 6 years ago by Antoine Martin

Resolution: worksforme
Status: newclosed

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

comment:4 Changed 6 years ago by a3nma3nm

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

comment:5 Changed 6 years ago by Antoine Martin

Milestone: 0.181.0

Milestone renamed

comment:6 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.