[GRASS-user] Re: [Qgis-user] GRASS permission issue

Micha Silver micha at arava.co.il
Sun Mar 28 09:52:50 EDT 2010


On 03/28/2010 03:04 PM, Jeremy G wrote:
> 2010/3/28 Micha Silver <micha at arava.co.il <mailto:micha at arava.co.il>>
>
>     Probably checking:
>      ls -al /media/Docs
>
>
> Here is the result (I didn't paste the whole directory information) :
>
> jeremy at jeremy:~$  ls -al /media/Docs
> drwxrwx--- 1 root plugdev    8192 2010-03-25 16:34 .
> drwxr-xr-x 9 root root       4096 2010-03-28 12:37 ..
> drwxrwx--- 1 root plugdev    4096 2010-03-11 21:33 geodata
OK, the owner of geodata is root (I assume that's not your username).
>
> After verification I'm listed on the group plugdev.
>
>      What OS are you on?
>
>
> Running Ubuntu 9.10 with GRASS 6.4.0RC5.
>
>     How is the partition mounted (i.e. what's in the /etc/fstab)? Is
>     it a samba/cifs share or nfs?
>
>
> This is the line about /media/Docs in /etc/fstab :
> UUID=16A82CDCA82CBBDD /media/Docs     ntfs    
> defaults,nls=utf8,umask=007,gid=46 0       0
>
Try adding here uid=<your username> as an additional option. Something like:
  UUID=16A82CDCA82CBBDD /media/Docs     ntfs    
defaults,nls=utf8,umask=007,gid=46,uid=jeremy 0       0

Then do a:
sudo mount -o remount /media/Docs
Now check ls -al /media/Docs/geodata/TESTS/grass
If you appear as the owner instead of root, then GRASS should startup OK.

If you want to try this out "on the fly" without changing your fstab, 
then you can:
First check which disk (/dev/hdx or /dev/sdx where x might be 1,2,3...) 
is your ntfs partition with sudo fdisk -l, then...
sudo umount /media/Docs
sudo mount -o defaults,umask=0007,gid=46,uid=jeremy /dev/hdx /media/Docs
and check as above.

Let us know how it goes,
-- 
Micha
> Thank you for trying to help me to fix that,
>
> Jeremy
>
> This mail was received via Mail-SeCure System.


-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100328/40f4faa3/attachment-0001.html


More information about the grass-user mailing list