Re: [GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Hamish
>>>  ERROR: MAPSET PERMANENT - permission denied
>>> 
>>>  Any solution to this would be much appreciated.

Glynn:
>>  In any of the current SVN versions,
>> setting the environment variable  GRASS_SKIP_MAPSET_OWNER_CHECK
>> to any non-empty string will suppress  the check.

(that also includes 6.4.3-final by the way)

Tim:
> Yes, but what for the people who wanna rely on the precompiled packages?
> And this could be a switch in the .grassrc or elsewhere.

it still works at run time. you can make it locally permanent on a
single user setup with:

echo "export GRASS_SKIP_MAPSET_OWNER_CHECK=true" >> ~/.grass.bashrc


As with anything else, be sure to extra take care when disabling
safety mechanisms.


Hamish

ps- the build-time compiler flag version is "-DSKIP_MAPSET_OWN_CHK"

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Tim Michelsen
>> ERROR: MAPSET PERMANENT - permission denied
>>
>> Any solution to this would be much appreciated.
> 
> In any of the current SVN versions, setting the environment variable
> GRASS_SKIP_MAPSET_OWNER_CHECK to any non-empty string will suppress
> the check.
Yes, but what for the people who wanna rely on the precompiled packages?
And this could be a switch in the .grassrc or elsewhere.


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Nikos Alexandris
Michel Wortmann:
> > And straight on to another question:
> > Is there a way of switching of the permissions check when opening a
> > mapset? It prevents me from opening mapsets that are mounted on
> > different filesystems as the grass installation. E.g. if I try to open a
> > mapset located on a remote directory (mounted using fuse) in my local
> > Ubuntu grass6.4 version fails with:
> > 
> > ERROR: MAPSET PERMANENT - permission denied
> > 
> > Any solution to this would be much appreciated.

Tim Michelsen:
> I totally agree with you. Especially for the 1 machine with dual boot
> set-up.

> Unfortunately, core developers are of different opinion:
> 
> [Fwd: Re: GRASS permission issue]
> http://thread.gmane.org/gmane.comp.gis.grass.devel/39132/focus=39146
> 
> Hope if more come in we could convince them...
> 
> Regards.

Tim,

I have never ever had such a "problem" -- it always was in the end a 
permission issue on the "operating system world".  That is, one has to 
properly mount the drive/filesystem he wants to use under its own user-id (at 
least in Linux) and there will be no issue.

Best regards, Nikos
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Glynn Clements

Michel Wortmann wrote:

> And straight on to another question:
> Is there a way of switching of the permissions check when opening a 
> mapset? It prevents me from opening mapsets that are mounted on 
> different filesystems as the grass installation. E.g. if I try to open a 
> mapset located on a remote directory (mounted using fuse) in my local 
> Ubuntu grass6.4 version fails with:
> 
> ERROR: MAPSET PERMANENT - permission denied
> 
> Any solution to this would be much appreciated.

In any of the current SVN versions, setting the environment variable
GRASS_SKIP_MAPSET_OWNER_CHECK to any non-empty string will suppress
the check.

-- 
Glynn Clements 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Tim Michelsen
Am 31.07.2013 18:44, schrieb Michel Wortmann:
> And straight on to another question:
> Is there a way of switching of the permissions check when opening a
> mapset? It prevents me from opening mapsets that are mounted on
> different filesystems as the grass installation. E.g. if I try to open a
> mapset located on a remote directory (mounted using fuse) in my local
> Ubuntu grass6.4 version fails with:
> 
> ERROR: MAPSET PERMANENT - permission denied
> 
> Any solution to this would be much appreciated.
I totally agree with you. Especially for the 1 machine with dual boot
set-up.

Unfortunately, core developers are of different opinion:

[Fwd: Re: GRASS permission issue]
http://thread.gmane.org/gmane.comp.gis.grass.devel/39132/focus=39146

Hope if more come in we could convince them...

Regards.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Michel Wortmann

And straight on to another question:
Is there a way of switching of the permissions check when opening a 
mapset? It prevents me from opening mapsets that are mounted on 
different filesystems as the grass installation. E.g. if I try to open a 
mapset located on a remote directory (mounted using fuse) in my local 
Ubuntu grass6.4 version fails with:


ERROR: MAPSET PERMANENT - permission denied

Any solution to this would be much appreciated.
Regards,
Michel

--
Michel Wortmann | MPhil/PhD student (University College London) | RD II: 
Impacts & Vulnerabilities | wortm...@pik-potsdam.de | +49 331 288-20765, 
Wednesdays: -2461
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user