[GRASS-SVN] r66273 - grass/trunk/lib/temporal/lib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 21 13:49:45 PDT 2015
Author: neteler
Date: 2015-09-21 13:49:45 -0700 (Mon, 21 Sep 2015)
New Revision: 66273
Modified:
grass/trunk/lib/temporal/lib/connect.c
Log:
temporal lib: clarify G_mapset_permissions2() output
Modified: grass/trunk/lib/temporal/lib/connect.c
===================================================================
--- grass/trunk/lib/temporal/lib/connect.c 2015-09-21 20:49:31 UTC (rev 66272)
+++ grass/trunk/lib/temporal/lib/connect.c 2015-09-21 20:49:45 UTC (rev 66273)
@@ -95,9 +95,10 @@
const char *location = G_getenv_nofatal("LOCATION_NAME");
int ret;
+ G_debug(1,"Checking mapset <%s>", mapset);
ret = G_mapset_permissions2(gisdbase, location, mapset);
switch (ret) {
- case 0:
+ case 0: /* Check if the mapset exists and user is owner */
G_warning(_("You don't have permission to access the mapset <%s>"),
mapset);
break;
More information about the grass-commit
mailing list