Export to GitHub

sextante - issue #1

Wrong permissions for saga_batch_job.sh


Posted on Mar 30, 2012 by Happy Hippo

Running a command results in:

Traceback (most recent call last): File "/home/paolo/.qgis/python/plugins/sextante/gui/ParametersDialog.py", line 274, in accept AlgorithmExecutor.runalg(self.alg, self) File "/home/paolo/.qgis/python/plugins/sextante/gui/AlgorithmExecutor.py", line 9, in runalg alg.execute(progress) File "/home/paolo/.qgis/python/plugins/sextante/core/GeoAlgorithm.py", line 59, in execute self.processAlgorithm(progress) File "/home/paolo/.qgis/python/plugins/sextante/saga/SagaAlgorithm.py", line 236, in processAlgorithm SagaUtils.createSagaBatchJobFileFromSagaCommands(commands) File "/home/paolo/.qgis/python/plugins/sextante/saga/SagaUtils.py", line 47, in createSagaBatchJobFileFromSagaCommands fout = open(SagaUtils.sagaBatchJobFilename(), "w") IOError: [Errno 13] Permesso negato: '/home/paolo/sextante/saga_batch_job.sh'

and in fact the file is created with wrong permissions:

$ ls -l /home/paolo/sextante/saga_batch_job.sh ---x------ 1 paolo paolo 1507 mar 30 2012 /home/paolo/sextante/saga_batch_job.sh

Comment #1

Posted on Mar 30, 2012 by Happy Hippo

Moved to http://hub.qgis.org/issues/5261

Status: New

Labels:
Type-Defect Priority-Medium