David and others...
I'm also running into a permission problem with
g.manual on my Corel Linux box with an install of
grass5beta8 binaries... trying to run g.manual I get
the following error:
sh:
/home/grassuser/grassdata/spearfish/PERMANENT/.tmp/CorelLinux/555.0:
Permission denied
I don't have a PAGER line in my .bashrc...could the
problem be some permission setting elsewhere. Any
help is much appreciated.
Rob Dzur
INRA
La Paz, Bolivia
-------------------------------------------------------
OK, the r.watershed problem was due to my disk running
out of space (next post on this problem). The
g.manual problem was indeed my PAGER variable, but
something strange is happening...
my .bashrc file contains the line:
export PAGER="/usr/bin/less"
I type "export" and recieve the expected:
declare -x PAGER="/usr/bin/less"
and $PAGER <filename> launches less correctly. When I
enter the grass environment with "grass5", and then
type "export", I see that the PAGER variable has been
changed to:
declare -x PAGER="\\usr\\bin\\less"
I have to manually re-enter the PAGER declairation and
set it back to "/usr/bin/less" before it executes
g.manual correctly. What is going on??
David
--- Bernhard Reiter <bernhard@intevation.de> wrote:
On Fri, Sep 22, 2000 at 08:32:19AM -0700, David
Finlayson wrote:
> I have a binary install of 5.0beta8 installed to
> /usr/local/grass-5.0b on a Debian potato linux
box.
> This directory is not writable (except by root).
I
> just tried to run r.watershed and it failed with
the
> following message:
>
> SECTION 1 beginning: Initiating Variables. 6
sections
> total
> segments in row: 622
> segments in columns: 277
> total segments: 172294
> open segments: 213
> WARNING: No such file or directory
> WARNING: seg_open(): could not write segment file
>
> ERROR: <</usr/local/grass-5.0b/etc/water/seg
> el="elv@elwha" t=1000000
> ba="basins" ac="flowacc" se="streams"
> ha="halfbasin" di="flowdisp"
> S="steepness" r=0 ms=150>> command line
failed
>
> It appears that it tried to write into /usr . Do I
> need to move the grass binaries to a directory
where
> it can write to itself?No usually they are working in the database
directory.
(I assume that you have started grass correctly with
the main
grass5 script.)> g.manual also fails due to a permission problem.
Is
> this related?I don't think so.
Try to set the PAGER variable to something useful
and try g.manual
again.Bernhard
--
Professional Service around Free Software
(intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure
(ffii.org)ATTACHMENT part 2 application/pgp-signature
=====
--
David Finlayson
david_finlayson@yahoo.com
University of Washington
Box 351310
Seattle, WA 98195 - 1310
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo!
Messenger.
http://im.yahoo.com/
--------------------------------------------------------------------------------
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/