On 22/10/08 14:53, Matt B wrote:
On Mon, Oct 20, 2008 at 9:16 PM, Glynn Clements <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>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.
Also see this thread: http://lists.osgeo.org/pipermail/grass-windows/2008-October/001544.html
Especially: "I solved the problem with setting uid=my_user_name in the fstab-file." Moritz _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
