Thanks for all the replies.
I reformatted the external drive as FAT and let Ububtu mount it
itself, without editing fstab.
Then I started GRASS without the sudo option and by selecting the data
folder using the /media/volume_name/grassdata path.
2010/5/24, Glynn Clements <glynn@gclements.plus.com>:
Hanlie Pretorius wrote:
I'm using GRASS on two machines in different locations (one Win XP,
the other Ubuntu 10.04), so I would like to keep my grassdata folder
on an external drive. However, when I try to run grass in Ubuntu using
the external hard drive (NTFS file system), I get the following error
as soon as I've selected the new data location and the GUI starts to
load:
-----
Execution failed: 'g.region -u -g -p -c'Details:
Error: MAPSET PERMANENT - permission denied
-----To run GRASS, I use the command 'sudo grass -wx'.
GRASS works fine when I run it from the internal hard drive.
Is there a way to get GRASS to work from the external drive?
You must be the owner of the directory for the current mapset.
If you're mounting a FAT filesystem, you can use the uid= mount option
to set the ownership of the files. However, I don't know what the
situation is with NTFS, as it has its own permission model.--
Glynn Clements <glynn@gclements.plus.com>