planetfederal / qgis-suite-plugin

GNU General Public License v2.0
25 stars 17 forks source link

Test suite fails with permissions error on linux unless you are root #119

Closed mweisman closed 10 years ago

mweisman commented 10 years ago

Our qgis builds install the plugin at the system level rather than the user level. This means on OSes with actual security the unit tests will fail with a permissions issue when trying to write to the plugin directory unless you are root (bad idea to run desktop software as root!).

Is there a way to write the output to /tmp instead?

ischneider commented 10 years ago

I can look into it - might be easy, might not. In the mean time, what if you cd to /tmp and run qgis from there?

mweisman commented 10 years ago

Get a bit further I start in /tmp but still eventually get a permissions error writing to /usr/share/qgis/python/plugins/opengeo/test/test-output/xunit-report.xml

ischneider commented 10 years ago

Thanks @mweisman - you reminded me it's easy

ischneider commented 10 years ago

@mweisman have a gander

mweisman commented 10 years ago

Thanks. Working now as a regular user on CentOS.