[GRASS-user] Error with permissions in GRASS Linux
Hamish
hamish_b at yahoo.com
Fri Apr 16 06:19:53 EDT 2010
Gilbert wrote:
> GreetingsI'm a new GRASS64 user in Linux (I have used it in
> Windows).
> I have copied from GRASS website the nc_spm_08 dataset and I
> have placed it in /home/anrr/Desktop/gisdata and extracted
> tar.gz file. So my nc_spm_08 location is in
> /home/anrr/Desktop/gisdata/nc_spm_08.
>
> When I add to my GIS DATA Directory /home/anrr/Desktop/gisdata,
> nc_spm_08 appears as a valid location but all my MAPSETS are in
> grey.... If I select, for instance, landsat I get erros saying
> PERMISSION DENIED.
>
> What can I do or what am I doing wrong?
you are not doing anything wrong. AFAICT the tarball was created
containing permissions and ownership info which it should not have.
as Micha mentioned, something like this should fix it:
chown -R anrr.anrr /home/anrr/Desktop/gisdata
which makes your user the owner of all those files.
António:
> I would say you have to use sudo chmod --R a+rwx to your dataset folder.
that is not good practice. avoid it if you possibly can.
> By the way, and to everyone, everytime that I create a file
> in my data folder those files are not available to everyone.
> Can that raise any permission problem inside grass?
as long as you own the mapset your user is trying to open, there should be no problem for you running grass yourself.
if there is not mention about mapset ownership rules in the FAQ
and first-day introduction documentation please let us know so
we can fix that.
Hamish
More information about the grass-user
mailing list