Details Ticket 876


Comment | Reply | Take | Open


Serial Number 876
Subject v.support option=edit permissions bug
Area bug
Queue grass
Requestors andreas.lange@rhein-main.de
Owner none
Status resolved
Last User Contact Wed Feb 27 04:55:30 2002 (7 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Feb 27 04:55:30 2002 (7 yr ago)
Created Mon Dec 17 00:34:08 2001 (7 yr ago)

Transaction History Ticket 876


Mon, Dec 17 2001 00:34:08    Request created by alange  
Subject: v.support option=edit permissions bug

Platform: Solaris 8/SPARC
Xwindows version: Sun X11R6.4
Xwindows manager: dtwm/CDE
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc

v.support option=edit
does not correctly recognize map=map@PERMANENT.
v.supprot should not start in interactive mode if there is no write permission
to the mapset. But it does. 

e. g. in active mapset andreas:
v.support option=edit map=roads@PERMANENT
after editing:
G__open(w): xmapset (PERMANENT) != G_mapset() (andreas)
Category file for [roads@PERMANENT] updated
(but it is really not updated, the change is lost!)

There are IMHO some other minor inconsistencies with v.support option=edit and
v.support option=build.

Andreas
Mon, Dec 17 2001 03:14:52    Mail sent by egm2@jps.net  
Return-Path <egm2@jps.net>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 16 Dec 2001 18:14:30 -0800
From Eric G.Miller <egm2@jps.net>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #876] (grass) v.support option=edit permissions bug
Message-Id <20011216181430.2c1506e4.egm2@jps.net>
In-Reply-To <20011216233409.5279E13A12@lists.intevation.de>
References <20011216233409.5279E13A12@lists.intevation.de>
X-Mailer Sylpheed version 0.6.5 (GTK+ 1.2.10; i386-debian-linux-gnu)
X-Face $}3V+uswm7Z!;4n|~VUONRE7}?M:)9EanJ+VSIbuLet]@F^~Fm^4{#&Ll9c[VT^L%tpnKL( y>h}_QRih0|V9"B(!y0Y.2R{i'sBKFXW+bn8(pJ2x]Te{Zqd^[YTj#e99&^K(5Wkp7Ie<d-V)**5%% B$08X%]!>l@&:_W<-CPN*&>qczh^'o
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=1 required=5 tests=FROM_ENDS_IN_NUMS
On Mon, 17 Dec 2001 00:34:09 +0100 (CET), Request Tracker <grass-bugs@intevation.de>
wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=876
> -------------------------------------------------------------------------
> 
> Subject: v.support option=edit permissions bug
> 
> Platform: Solaris 8/SPARC
> Xwindows version: Sun X11R6.4
> Xwindows manager: dtwm/CDE
> grass downloaded at: CVS Server, Germany
> grass binary for platform: I compiled the sources myself
> grass sources source: yes, I am using the latest GRASS from CVS
> c compiler name: gcc
> 
> v.support option=edit
> does not correctly recognize map=map@PERMANENT.
> v.supprot should not start in interactive mode if there is no write permission
to the mapset. But it does. 
> 
> e. g. in active mapset andreas:
> v.support option=edit map=roads@PERMANENT
> after editing:
> G__open(w): xmapset (PERMANENT) != G_mapset() (andreas)
> Category file for [roads@PERMANENT] updated
> (but it is really not updated, the change is lost!)
> 
> There are IMHO some other minor inconsistencies with v.support option=edit
and v.support option=build.

I put in some checks that the map is in the current mapset before
continuing.  So, it should exit with an error now if the map is
not editable.  v.support is pretty ugly the way it was constructed.
It probably wouldn't hurt to rewrite it (it's pretty short, since
it mostly just launches other programs to do the work).


-- 
Eric G. Miller <egm2@jps.net>


Wed, Feb 27 2002 04:55:30    Status changed to resolved by egmiller  
Wed, Feb 27 2002 04:55:30    Mail sent by egmiller  
Assume fix worked, since it has been a long time without a followup.
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