[GRASS-user] How to install Grass into Ubuntu

Matt B mattslists at gmail.com
Wed Oct 22 08:53:08 EDT 2008


On Mon, Oct 20, 2008 at 9:16 PM, Glynn Clements <glynn at gclements.plus.com>wrote:

>
> Matt B wrote:
>
> > I'm using Grass on ubuntu 8.04. Weird thing is that unless I run it "sudo
> > grass" I get a bunch of errors (and it's unusable) related to grass not
> > having the correct permissions to write to where I keep the data (ie the
> > users home directory). It's not a show stoppper at the moment and only
> > slightly annoying. I'm not sure why this is but I have some ideas to hunt
> > down when I get time. I used the standard ubuntu install and assume its
> > something to do with the ubuntu setup script.
>
> Note that GRASS won't let you select a mapset as the current mapset
> (where new files are stored) unless you own it. Write permission isn't
> sufficient.
>
> If you are creating a location which is to be shared by multiple
> users, you either need to create a mapset directory for each user,
> owned by the user, or grant all such users write permission on the
> location directory so that they can create their own mapset directory
> (which they will own).
>
> --
> Glynn Clements <glynn at gclements.plus.com>


Thanks for the heads up on this Glynn, my problem is that I'm on a dual boot
system and I'm storing mapsets/data on an NTFS drive. It's being
automatically mounted with the owner set as root and read/write permission
for everyone. If I put the data on the ext3 filesystem, it works. I'll mess
around with fstab and mount the data drive as the appropriate user. Having
said that.... it does seem to me that this sort of check is doubling up.
File permissions are usually run by the file system/OS. While having a
sanity check for "read/write" access is a good idea, checking for ownership
seems a little over the top. <insert newby user disclaimer here>.

Thanks
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20081022/94436072/attachment.html


More information about the grass-user mailing list