[GRASS-user] Python scripts: 'command not found'
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Thu Aug 19 11:23:53 EDT 2010
On Thursday 19 of August 2010 15:47:13 Hanlie Pretorius wrote:
> 2010/8/19, Nikos Alexandris <nikos.alexandris at felis.uni-freiburg.de>:
> > Better not to use sudo (as a general advice). The script needs to be made
> > executable for your user-name, i.e.:
> >
> > sudo chown hanlie:hanlie v.check3d
>
> Ran 'sudo chown hanlie:hanlie v.check3d' from the
> /usr/lib/grass64/scripts directory with no error messages, but GRASS
> still gives a permission error:
>
> -----
> GRASS 6.4.0RC6 (sa_wgs84):~ > v.check3d
> bash: /usr/lib/grass64/scripts/v.check3d: Permission denied
> -----
Right, that is becasue I was too fast. My bad. To make it executable
sudo chmod ug+x v.check3d
or
sudo chmod a+x v.check3d
(the latter should also be ok I think if the given script does not contain
dangerous commands).
Nikos
More information about the grass-user
mailing list