<div dir="ltr"><p>You might try using &quot;g.access&quot; in WinGRASS, giving permission for &quot;others&quot; to access the mapset. I also run a dual boot (Kubuntu/Windows), as well as run back and forth between various Linux, Mac, and Windows machines with the same mapsets, and sometimes run into these kind of permission problems. If it is not solved with the g.access trick, you should try starting grass as superuser (su in the console), and see if you still hit permission issues...</p>
<p></p><p>Cheers,<br></p><p></p><p>Isaac</p>
<br>
Message: 4<br>
Date: Fri, 10 Oct 2008 17:12:22 +0200<br>
From: Moritz Lennert &lt;<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>&gt;<br>
Subject: Re: [GRASS-windows] Problems with accessing location between<br>
 &nbsp; &nbsp; &nbsp; &nbsp;windows and linux<br>
To: Martin Maier &lt;<a href="mailto:martmai@gmx.de">martmai@gmx.de</a>&gt;<br>
Cc: <a href="mailto:grass-windows@lists.osgeo.org">grass-windows@lists.osgeo.org</a><br>
Message-ID: &lt;<a href="mailto:48EF70D6.3030502@club.worldonline.be">48EF70D6.3030502@club.worldonline.be</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed<br>
<br>
On 10/10/08 15:57, Martin Maier wrote:<br>
&gt; Moritz Lennert schrieb am 10.10.2008 15:10:<br>
&gt;&gt; On 10/10/08 11:46, Martin Maier wrote:<br>
&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am using a dual boot system with Windows XP and OpenSuse. I have<br>
&gt;&gt;&gt; created some locations and mapsets using GRASS Windows (with the native<br>
&gt;&gt;&gt; windows installer, 6.3.0-4), on a FAT32 disk. When I now try to access<br>
&gt;&gt;&gt; these locations out of the OpenSuse System (navigating to the database),<br>
&gt;&gt;&gt; I can see the created locations, but if I chose a location I get no<br>
&gt;&gt;&gt; mapsets. So I can not access any data created with the windows version<br>
&gt;&gt;&gt; of GRASS.<br>
&gt;&gt;&gt; Is there any difference in creating files between the windows and the<br>
&gt;&gt;&gt; linux versions of GRASS or is a problem with accessing the FAT32<br>
&gt;&gt;&gt; file-system with the Linux-GRASS?<br>
&gt;&gt;&gt; Any hint would be great.<br>
&gt;&gt; Probably an issue with permissions. How do you mount the windows<br>
&gt;&gt; partition ?<br>
&gt;&gt;<br>
&gt;&gt; You might be able to create a mapset in SUSE and then use g.mapsets<br>
&gt;&gt; (in gis.m: Config-&gt;GRASS working environment-&gt;Mapset access) to give<br>
&gt;&gt; yourself read access to the other mapsets.<br>
&gt;&gt;<br>
&gt;&gt; Moritz<br>
&gt; Hello Moritz,<br>
&gt;<br>
&gt; thank you for the tip.<br>
&gt; I mount with the following line in fstab:<br>
&gt; /dev/sda3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/media/daten &nbsp; &nbsp; &nbsp; &nbsp; vfat<br>
&gt; users,gid=users,umask=0002,utf8=true,quiet 0 0<br>
&gt; So I have read and write permission to the directory (I am member of the<br>
&gt; group &#39;users&#39;).<br>
&gt;<br>
&gt; But it is indeed a problem of permission, but I don&#39;t know what&#39;s the<br>
&gt; problem:<br>
&gt; If I start GRASS in text-mode within OpenSuse, I can create a new mapset<br>
&gt; (e.g. mapset1) within the location &#39;loc1&#39; which I have created within<br>
&gt; Windows and mounted as described. GRASS saves a new folder &#39;mapset1&#39; in<br>
&gt; the folder &#39;loc1&#39;. Within the folder &#39;mapset1&#39; there are two files: var<br>
&gt; and wind and a folder named dbf.<br>
&gt; After that a error message appears:<br>
&gt;<br>
&gt; Sorry, no access to &lt;&lt;mapset1&gt;&gt;.<br>
&gt;<br>
&gt; Mapsets in location &lt;loc1&gt;<br>
&gt; ----------------------<br>
&gt; &nbsp; &nbsp;PERMANENT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;test.grc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mapset1<br>
&gt;<br>
&gt; note: you do not have access to any of these mapsets<br>
&gt;<br>
&gt; Then GRASS closes down. But GRASS has just created the mapset1 folder,<br>
&gt; so I should have write permission, or not?<br>
<br>
AFAIK, group permissions are not enough, you need to be the _owner_ of<br>
the directory and files. Can you chown the files in the windows<br>
partition ? Maybe you need to play around with the umask setting.<br>
<br>
There might also be other problems such as case. Check out the following<br>
threads:<br>
<br>
<a href="http://thread.gmane.org/gmane.comp.gis.grass.user/23652/" target="_blank">http://thread.gmane.org/gmane.comp.gis.grass.user/23652/</a><br>
<a href="http://thread.gmane.org/gmane.comp.gis.grass.devel/8822/focus=8844" target="_blank">http://thread.gmane.org/gmane.comp.gis.grass.devel/8822/focus=8844</a><br>
<br>
Moritz<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
grass-windows mailing list<br>
<a href="mailto:grass-windows@lists.osgeo.org">grass-windows@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-windows" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-windows</a><br>
<br>
<br>
End of grass-windows Digest, Vol 26, Issue 11<br>
*********************************************<br>
<br><br clear="all"><br>-- <br><br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Student,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>***************************************************<br>
<a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>
</div>