[GRASS-user] how to enable write access for the UNIX group?
Glynn Clements
glynn at gclements.plus.com
Wed Sep 26 23:39:41 EDT 2007
Maciej Sieczka wrote:
> >It probably *shouldn't* be sourcing /etc/profile, as that script is
> >only supposed to be used for login shells.
> >
> >However, changing it will probably break stuff for some users, who may
> >be relying upon /etc/profile being sourced without realising it.
>
> Maybe it's something to consider for GRASS 7?
I'd really like to just eliminate Init.sh for GRASS 7.
Most of the environment can be set up through an e.g. /etc/env.d/grass
script. The database, location and mapset can be set through g.mapset.
The only slight subtlety is if you want multiple independent sessions,
but that can be done with a fraction of the code in Init.sh.
> As well as providing a
> GRASS command (g.access option?) to enable r/w access for users
> in mapsets they don't own? So that it they don't need to hack
> lib/gis/mapset_msc.c.
AFAICT, that restriction has been unnecessary ever since the lockfile
was moved from the user's home directory to the mapset directory.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list