Details Ticket 3642


Comment | Reply | Take | Open


Serial Number 3642
Subject g.mremove permission denied
Area grass6
Queue grass
Requestors doug_newcomb@fws.gov
Owner none
Status resolved
Last User Contact Wed Feb 7 16:24:12 2007 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Feb 7 16:24:12 2007 (2 yr ago)
Created Thu Sep 15 21:57:45 2005 (3 yr ago)

Transaction History Ticket 3642


Thu, Sep 15 2005 21:57:45    Request created by guest  
Subject: g.mremove permission denied

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.0.1

Doug Newcomb - debian sarge on Dual Athlon
 
when trying us use the gui to run Remove maps using expressions and wildcards
I get the following error( from details window):  

couldn't execute "g.mremove": permission denied
couldn't execute "g.mremove": permission denied
    while executing
"exec -- $cmd --tcltk"
    (procedure "execute" line 4)
    invoked from within
"execute g.mremove "
    invoked from within
".#menubar.#menubar#options.#menubar#options#menu1 invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 47)
    invoked from within
"tk::MenuInvoke .#menubar.#menubar#options.#menubar#options#menu1 1"
    (command bound to event)
----------------------------------------------------------------------

ls -al scripts/g.mremove gives:

-rwxr-xr-x   1 1338   204 3560 2005-02-11 03:46 g.mremove
Fri, Sep 16 2005 03:45:13    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 16 Sep 2005 13:44:49 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it, michael.barton@asu.edu
Subject Re: [GRASS5] [bug #3642] (grass) g.mremove permission denied
Message-Id <20050916134449.0e44003c.hamish_nospam@yahoo.com>
In-Reply-To <20050915195745.54945101F14@lists.intevation.de>
References <20050915195745.54945101F14@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3642
> ---------------------------------------------------------------------
> 
> Subject: g.mremove permission denied
> 
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.0.1
> 
> Doug Newcomb - debian sarge on Dual Athlon

Note Debian/sarge package for GRASS 6.0.1 is now available at the 
DebianGIS repository, and 6.0.1 should be in Debian/unstable soon:

  http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl

  
> when trying us use the gui to run Remove maps using expressions and
> wildcards I get the following error( from details window):  
> 
> couldn't execute "g.mremove": permission denied
> couldn't execute "g.mremove": permission denied
[...]
> ls -al scripts/g.mremove gives:
> 
> -rwxr-xr-x   1 1338   204 3560 2005-02-11 03:46 g.mremove


Don't know why you get that (user id's?), but I don't think it will 
work from the GUI anyway:

[Run]
g.mremove vect=foo? 
Collecting map names for current mapset <user1>...
g.remove vect=foo1,foo2,foo3

Did you mean this(y/n)?


  ^^^^ interactive prompt which won't work in the Tcl/Tk window.


needs to happen in an xterm like r.digit?



Hamish


Fri, Sep 16 2005 15:41:04    Mail sent by Doug_Newcomb@fws.gov  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
03 45:12 +0200 (CEST)
03 45:12 +0200 (CEST)
+0200 (CEST)
[139.80.64.213]) by mailhub1.otago.ac.nz (8.12.11/8.12.11) with ESMTP id
j8G1ip3b011811; Fri, 16 Sep 2005 13 44:51 +1200
j8G1ioPg029051; Fri, 16 Sep 2005 13 44:50 +1200 (NZST)
Date Fri, 16 Sep 2005 13:44:49 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it, michael.barton@asu.edu
Subject Re: [GRASS5] [bug #3642] (grass) g.mremove permission denied
Message-Id <20050916134449.0e44003c.hamish_nospam@yahoo.com>
In-Reply-To <20050915195745.54945101F14@lists.intevation.de>
References <20050915195745.54945101F14@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face
M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0
tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level -------------------------------------------- Managed by Request Tracker --- Headers Follow --- >From Doug_Newcomb@fws.gov Fri Sep 16 15:41:04 2005
Return-Path <Doug_Newcomb@fws.gov>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <20050916014513.467AA1006CF@lists.intevation.de>
Subject Re: [bug #3642] (grass) g.mremove permission denied
To Hamish via RT <grass-bugs@intevation.de>
X-Mailer Lotus Notes Release 6.5.1 January 21, 2004
Message-ID <OF3185C137.E2725680-ON8525707E.0045A6C7-8525707E.004B20D1@fws.gov>
From Doug_Newcomb@fws.gov
Date Fri, 16 Sep 2005 09:40:36 -0400
MIME-Version 1.0
X-MIMETrack Serialize by Router on IFW9BCT-DEN1/FWS/DOI(Release 6.5.2|June 01, 2004) at 09/16/2005 07:40:59 AM, Itemize by SMTP Server on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.1|January 21, 2004) at 09/16/2005 07:40:59 AM, Serialize by Router on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.1|January 21, 2004) at 09/16/2005 07:41:02 AM, Serialize complete at 09/16/2005 07:41:02 AM
Content-type text/plain; charset=US-ASCII
X-Spam-Status No, hits=-2.8 tagged_above=-999.0 required=3.0 tests=BAYES_00, NO_REAL_NAME, REMOVE_REMOVAL_1WORD
X-Spam-Level
Hamish,

>Note Debian/sarge package for GRASS 6.0.1 is now available at the
>DebianGIS repository, and 6.0.1 should be in Debian/unstable soon:

>  http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl

      Good to hear! I've been compiling everything ( gdal, postgresql,
postgis,qgis, grass) from source.

>> when trying us use the gui to run Remove maps using expressions and
>> wildcards I get the following error( from details window):
>>
>> couldn't execute "g.mremove": permission denied
>> couldn't execute "g.mremove": permission denied
>[...]
>> ls -al scripts/g.mremove gives:
>>
>> -rwxr-xr-x   1 1338   204 3560 2005-02-11 03:46 g.mremove

      My apologies for not being more detailed in my description.  I was
just trying to use the Tcl/TK gui and when I clicked on the menu item that
called g.mremove, it gave me an error and I copied and pasted the detailed
error message to the bug report.

      I then checked the file permissions in /usr/local/grass-6.0.1/scripts
with
ls -al /usr/local/grass-6.0.1/scripts/g.mremove . The response below led me
to believe it was readable and executable by everybody.

      When I type g.mremove from the command line, it says command not
found. In fact, several of the commands in the scripts directory fail in
this way.  When I execute the scripts directly ( i.e.,
/usr/local/grass-6.0.1/scripts/g.mremove/g.mremove ) they are found.

      Checking my path, (PATH=/usr/local/grass-6.0.1
/bin:/usr/local/grass-6.0.1/scripts), I notice that the scripts directory
is in the path, yet the executable scripts are each in their own
subdirectory below the scripts directory. Is there a bug in the make
install section?  Or did I just botch the install :-) ?

Doug



>Don't know why you get that (user id's?), but I don't think it will
>work from the GUI anyway:

>[Run]
>g.mremove vect=foo?
>Collecting map names for current mapset <user1>...
>g.remove vect=foo1,foo2,foo3

>Did you mean this(y/n)?


>  ^^^^ interactive prompt which won't work in the Tcl/Tk window.


>needs to happen in an xterm like r.digit?



Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb@fws.gov
----------------------------------------------------------------------------------------------------
-----
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
I left my signature file in /dev/null




> this bug's URL: http://intevation.de/rt/webrt?serial_num=3642
> ---------------------------------------------------------------------
>
> Subject: g.mremove permission denied
>
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.0.1
>
> Doug Newcomb - debian sarge on Dual Athlon

Note Debian/sarge package for GRASS 6.0.1 is now available at the
DebianGIS repository, and 6.0.1 should be in Debian/unstable soon:

  http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl


> when trying us use the gui to run Remove maps using expressions and
> wildcards I get the following error( from details window):
>
> couldn't execute "g.mremove": permission denied
> couldn't execute "g.mremove": permission denied
[...]
> ls -al scripts/g.mremove gives:
>
> -rwxr-xr-x   1 1338   204 3560 2005-02-11 03:46 g.mremove


Don't know why you get that (user id's?), but I don't think it will
work from the GUI anyway:

[Run]
g.mremove vect=foo?
Collecting map names for current mapset <user1>...
g.remove vect=foo1,foo2,foo3

Did you mean this(y/n)?


  ^^^^ interactive prompt which won't work in the Tcl/Tk window.


needs to happen in an xterm like r.digit?



Hamish


Wed, Feb 7 2007 16:24:12    Status changed to resolved by msieczka  
Wed, Feb 7 2007 16:24:12    Mail sent by msieczka  
Hi,

g.mremove works as expected in GRASS 6.2 and 6.3 CVS. An open issue is still
the fact that it is interactive, which is being discussed in
http://intevation.de/rt/webrt?serial_num=5483

Closing ticket.

Maciek
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request